qemacs-commit
[Top][All Lists]
Advanced

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

[Qemacs-commit] Changes to qemacs/libqhtml/cssparse.c


From: Charlie Gordon
Subject: [Qemacs-commit] Changes to qemacs/libqhtml/cssparse.c
Date: Fri, 08 Jul 2005 05:30:48 -0400

Index: qemacs/libqhtml/cssparse.c
diff -u qemacs/libqhtml/cssparse.c:1.4 qemacs/libqhtml/cssparse.c:1.5
--- qemacs/libqhtml/cssparse.c:1.4      Wed May 11 15:12:14 2005
+++ qemacs/libqhtml/cssparse.c  Fri Jul  8 09:30:44 2005
@@ -237,6 +237,7 @@
     CSSProperty **last_prop, *first_prop;
     const CSSPropertyDef *def;
 
+    val = 0;
     first_prop = NULL;
     last_prop = &first_prop;
     p = props_str;
@@ -384,8 +385,10 @@
                 goto got_val;
             }
             if (type & CSS_TYPE_COLOR) {
+                QEColor color;
                 /* XXX: color parsing is not always discriminant */
-                if (!css_get_color(&val, buf)) {
+                if (!css_get_color(&color, buf)) {
+                    val = color;
                     unit = CSS_VALUE_COLOR;
                     goto got_val;
                 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]