aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--widgets/e-table/e-cell-text.c3
-rw-r--r--widgets/e-table/e-cell-toggle.c6
-rw-r--r--widgets/table/e-cell-text.c3
-rw-r--r--widgets/table/e-cell-toggle.c6
4 files changed, 10 insertions, 8 deletions
diff --git a/widgets/e-table/e-cell-text.c b/widgets/e-table/e-cell-text.c
index 91ead8d798..8e37f67eef 100644
--- a/widgets/e-table/e-cell-text.c
+++ b/widgets/e-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/e-table/e-cell-toggle.c b/widgets/e-table/e-cell-toggle.c
index 679d04a0ca..1fdbcf40ca 100644
--- a/widgets/e-table/e-cell-toggle.c
+++ b/widgets/e-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;
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;