qemacs-commit
[Top][All Lists]
Advanced

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

[Qemacs-commit] qemacs util.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs util.c
Date: Thu, 20 Dec 2007 11:45:45 +0000

CVSROOT:        /cvsroot/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        07/12/20 11:45:45

Modified files:
        .              : util.c 

Log message:
        cosmetics

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/util.c?cvsroot=qemacs&r1=1.27&r2=1.28

Patches:
Index: util.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/util.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- util.c      18 Dec 2007 17:57:11 -0000      1.27
+++ util.c      20 Dec 2007 11:45:45 -0000      1.28
@@ -878,7 +878,8 @@
     rgba[3] = 0xff;
     if (qe_isxdigit((unsigned char)*p)) {
         goto parse_num;
-    } else if (*p == '#') {
+    } else
+    if (*p == '#') {
         /* handle '#' notation */
         p++;
     parse_num:
@@ -901,10 +902,12 @@
             /* error */
             return -1;
         }
-    } else if (strstart(p, "rgb(", &p)) {
+    } else
+    if (strstart(p, "rgb(", &p)) {
         n = 3;
         goto parse_rgba;
-    } else if (strstart(p, "rgba(", &p)) {
+    } else
+    if (strstart(p, "rgba(", &p)) {
         /* extension for alpha */
         n = 4;
     parse_rgba:




reply via email to

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