For Haiku.

François.
Index: qe.c
===================================================================
RCS file: /sources/qemacs/qemacs/qe.c,v
retrieving revision 1.128
diff -u -r1.128 qe.c
--- qe.c	17 Jan 2014 13:19:14 -0000	1.128
+++ qe.c	18 Jan 2014 08:43:35 -0000
@@ -3273,11 +3273,13 @@
 int get_non_colorized_line(EditState *s, unsigned int *buf, int buf_size,
                            int *offsetp, int line_num)
 {
+    int len;
+
     if (s->b->b_styles) {
         return get_staticly_colorized_line(s, buf, buf_size, offsetp, line_num);
     }
 
-    int len = eb_get_line(s->b, buf, buf_size, offsetp);
+    len = eb_get_line(s->b, buf, buf_size, offsetp);
     // XXX: should force \0 instead of \n
     buf[len] = '\n';
     return len;
_______________________________________________
Qemacs-devel mailing list
Qemacs-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/qemacs-devel

Reply via email to