[PATCH] C89

François Revol <[email protected]> Wed, 25 Jan 2017 02:04:32 +0100
Newsgroups gmane.editors.qemacs.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------18AFE95EE8F804A93FB4A67F
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

This fixes building in Haiku.

Fran=C3=A7ois.

--------------18AFE95EE8F804A93FB4A67F
Content-Type: text/x-patch;
 name="qemacs-C89-20170125.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="qemacs-C89-20170125.patch"

Index: extras.c
===================================================================
RCS file: /sources/qemacs/qemacs/extras.c,v
retrieving revision 1.51
diff -u -r1.51 extras.c
--- extras.c	31 Dec 2016 11:12:16 -0000	1.51
+++ extras.c	25 Jan 2017 01:00:44 -0000
@@ -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);


--------------18AFE95EE8F804A93FB4A67F
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Qemacs-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/qemacs-devel

--------------18AFE95EE8F804A93FB4A67F--