qemacs-commit
[Top][All Lists]
Advanced

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

[Qemacs-commit] qemacs extras.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs extras.c
Date: Tue, 31 Jan 2017 16:38:03 -0500 (EST)

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        17/01/31 16:38:03

Modified files:
        .              : extras.c 

Log message:
        config: fix haiku compilation
        - move local variable definition to start of block (patch by Francois 
Revol)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/extras.c?cvsroot=qemacs&r1=1.51&r2=1.52

Patches:
Index: extras.c
===================================================================
RCS file: /sources/qemacs/qemacs/extras.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- extras.c    31 Dec 2016 11:12:16 -0000      1.51
+++ extras.c    31 Jan 2017 21:38:02 -0000      1.52
@@ -1255,6 +1255,7 @@
 {
     EditBuffer *b1;
     int show;
+    int w;
 
     b1 = new_help_buffer(&show);
     if (!b1)
@@ -1262,7 +1263,7 @@
 
     eb_printf(b1, "Window Description\n\n");
 
-    int w = 28;
+    w = 28;
     eb_printf(b1, "%*s: %d, %d\n", w, "xleft, ytop", s->xleft, s->ytop);
     eb_printf(b1, "%*s: %d, %d\n", w, "width, height", s->width, s->height);
     eb_printf(b1, "%*s: %d, %d, %d, %d\n", w, "x1, y1, x2, y2", s->x1, s->y1, 
s->x2, s->y2);



reply via email to

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