The number of rows is stored in a signed char, hence the 128 rows limit.
The patch below should fix this.

Xavier


diff -ur mg-20070918.old/def.h mg-20070918.new/def.h
--- mg-20070918.old/def.h       2007-05-29 20:47:47.000000000 +0200
+++ mg-20070918.new/def.h       2010-03-19 20:51:10.000000000 +0100
@@ -202,9 +202,9 @@
        struct line     *w_markp;       /* Line containing "mark"       */
        int              w_doto;        /* Byte offset for "."          */
        int              w_marko;       /* Byte offset for "mark"       */
-       char             w_toprow;      /* Origin 0 top row of window   */
-       char             w_ntrows;      /* # of rows of text in window  */
-       char             w_frame;       /* #lines to reframe by.        */
+       int              w_toprow;      /* Origin 0 top row of window   */
+       int              w_ntrows;      /* # of rows of text in window  */
+       int              w_frame;       /* #lines to reframe by.        */
        char             w_flag;        /* Flags.                       */
        struct line     *w_wrapline;
        int              w_dotline;     /* current line number of dot   */



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to