qemacs-commit
[Top][All Lists]
Advanced

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

[Qemacs-commit] qemacs list.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs list.c
Date: Sat, 15 Dec 2007 07:31:38 +0000

CVSROOT:        /cvsroot/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        07/12/15 07:31:38

Modified files:
        .              : list.c 

Log message:
        cosmetics

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/list.c?cvsroot=qemacs&r1=1.4&r2=1.5

Patches:
Index: list.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/list.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- list.c      12 Dec 2007 02:51:05 -0000      1.4
+++ list.c      15 Dec 2007 07:31:38 -0000      1.5
@@ -20,7 +20,8 @@
 
 #include "qe.h"
 
-static int list_get_colorized_line(EditState *s, unsigned int *buf, int 
buf_size,
+static int list_get_colorized_line(EditState *s,
+                                   unsigned int *buf, int buf_size,
                                    int offset, __unused__ int line_num)
 {
     QEmacsState *qs = s->qe_state;
@@ -34,7 +35,8 @@
         s->offset >= offset && s->offset < offset1) {
         /* highlight the line if the cursor is inside */
         set_color(buf, buf + len, QE_STYLE_HIGHLIGHT);
-    } else if (buf[0] == '*') {
+    } else
+    if (buf[0] == '*') {
         /* selection */
         set_color(buf, buf + len, QE_STYLE_SELECTION);
     }




reply via email to

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