qemacs-commit
[Top][All Lists]
Advanced

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

[Qemacs-commit] qemacs cfb.c display.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs cfb.c display.c
Date: Tue, 08 Apr 2008 06:55:44 +0000

CVSROOT:        /cvsroot/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        08/04/08 06:55:44

Modified files:
        .              : cfb.c display.c 

Log message:
        cosmetics

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/cfb.c?cvsroot=qemacs&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/qemacs/display.c?cvsroot=qemacs&r1=1.13&r2=1.14

Patches:
Index: cfb.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/cfb.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- cfb.c       3 Jan 2008 09:51:30 -0000       1.7
+++ cfb.c       8 Apr 2008 06:55:44 -0000       1.8
@@ -105,6 +105,7 @@
     unsigned char *dest, *d;
     int y, n;
     unsigned int col;
+
     col = cfb->get_color(color);
 
     dest = cfb->base + y1 * cfb->wrap + x1 * 4;

Index: display.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/display.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- display.c   31 Mar 2008 09:41:17 -0000      1.13
+++ display.c   8 Apr 2008 06:55:44 -0000       1.14
@@ -120,9 +120,8 @@
 void fill_rectangle(QEditScreen *s,
                     int x1, int y1, int w, int h, QEColor color)
 {
-    int x2, y2;
-    x2 = x1 + w;
-    y2 = y1 + h;
+    int x2 = x1 + w;
+    int y2 = y1 + h;
 
     /* quick clip rejection */
     if (x2 <= s->clip_x1 || y2 <= s->clip_y1 ||




reply via email to

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