aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-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;