diff options
Diffstat (limited to 'widgets/table/e-cell-toggle.c')
-rw-r--r-- | widgets/table/e-cell-toggle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-cell-toggle.c b/widgets/table/e-cell-toggle.c index 679d04a0ca..1fdbcf40ca 100644 --- a/widgets/table/e-cell-toggle.c +++ b/widgets/table/e-cell-toggle.c @@ -4,7 +4,7 @@ * Author: * Miguel de Icaza (miguel@kernel.org) * - * (C) 1999 Helix Code, Inc + * (C) 1999, 2000 Helix Code, Inc */ #include <config.h> #include <gtk/gtkenums.h> @@ -138,14 +138,14 @@ etog_draw (ECellView *ecell_view, GdkDrawable *drawable, background.green = 255; background.blue = 255; - for (iy = 0; iy < art->height; iy++){ + for (iy = 0; iy <= art->height; iy++){ unsigned char *dest; unsigned char *src; dest = buffer + (iy * art->rowstride); src = art->pixels + (iy * art->rowstride); - for (ix = 0; ix < art->width; ix++){ + for (ix = 0; ix <= art->width; ix++){ alpha = src [3]; if (alpha == 0){ *dest++ = background.red; |