aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-toggle.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@src.gnome.org>2000-03-26 00:20:06 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2000-03-26 00:20:06 +0800
commitfaf22c27abd0e300392f39a3f58738bc753058cf (patch)
tree2f4f59c2b3a8cdddf3a5cb5675420e1c3eefc3ee /widgets/table/e-cell-toggle.c
parent1e77b479c3e3ecb709907de4d03c2477184e8409 (diff)
downloadgsoc2013-evolution-faf22c27abd0e300392f39a3f58738bc753058cf.tar
gsoc2013-evolution-faf22c27abd0e300392f39a3f58738bc753058cf.tar.gz
gsoc2013-evolution-faf22c27abd0e300392f39a3f58738bc753058cf.tar.bz2
gsoc2013-evolution-faf22c27abd0e300392f39a3f58738bc753058cf.tar.lz
gsoc2013-evolution-faf22c27abd0e300392f39a3f58738bc753058cf.tar.xz
gsoc2013-evolution-faf22c27abd0e300392f39a3f58738bc753058cf.tar.zst
gsoc2013-evolution-faf22c27abd0e300392f39a3f58738bc753058cf.zip
Fix from evolution-list
svn path=/trunk/; revision=2161
Diffstat (limited to 'widgets/table/e-cell-toggle.c')
-rw-r--r--widgets/table/e-cell-toggle.c6
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;