[evolution-patches] small enum fix



These enums are uses as flags and so they need to be bitwise.

--Larry
Index: gtkhtml-enums.h
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/gtkhtml-enums.h,v
retrieving revision 1.34
diff -u -p -r1.34 gtkhtml-enums.h
--- gtkhtml-enums.h	13 Dec 2002 12:27:11 -0000	1.34
+++ gtkhtml-enums.h	19 May 2003 14:25:19 -0000
@@ -300,7 +300,7 @@ typedef enum {
 } GtkHTMLStreamStatus;
 
 typedef enum {
-	GTK_HTML_BEGIN_KEEP_SCROLL,
-	GTK_HTML_BEGIN_KEEP_IMAGES
+	GTK_HTML_BEGIN_KEEP_SCROLL = 1 << 0,
+	GTK_HTML_BEGIN_KEEP_IMAGES = 1 << 1
 } GtkHTMLBeginFlags;
 #endif
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.1801
diff -u -p -r1.1801 ChangeLog
--- ChangeLog	19 May 2003 13:11:59 -0000	1.1801
+++ ChangeLog	19 May 2003 14:25:22 -0000
@@ -1,3 +1,7 @@
+2003-05-19  Larry Ewing  <lewing ximian com>
+
+	* gtkhtml-enums.h: make the flags actually be flags.
+
 2003-05-18  Larry Ewing  <lewing ximian com>
 
 	* htmlengine.c (parse_iframe): fix the margin calculations.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]