diff options
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-cell-text.c | 3 | ||||
-rw-r--r-- | widgets/table/e-cell-toggle.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c index 91ead8d798..8e37f67eef 100644 --- a/widgets/table/e-cell-text.c +++ b/widgets/table/e-cell-text.c @@ -16,7 +16,8 @@ * * Copyright (C) 1998 The Free Software Foundation * - * Author: Federico Mena <federico@nuclecu.unam.mx> */ + * Author: Federico Mena <federico@nuclecu.unam.mx> + */ #include <config.h> #include <gtk/gtkenums.h> #include <gtk/gtkentry.h> 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; |