lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev [PATCH 2.8.5-dev15] table horizontal shift


From: Ilya Zakharevich
Subject: lynx-dev [PATCH 2.8.5-dev15] table horizontal shift
Date: Sun, 28 Sep 2003 15:44:14 -0700
User-agent: Mutt/1.4i

This fixes the last non-cosmetic bug with table layout - total table
width was wrongly calculated due to skipping some "merged" lines when
calculating the maximum.

Enjoy,
Ilya

--- src/GridText.c.orig Sun Sep 28 10:41:38 2003
+++ src/GridText.c      Sun Sep 28 13:12:38 2003
@@ -4913,10 +4914,10 @@ PRIVATE int HText_insertBlanksInStblLine
                deleted++;
                /* Only one line is left is a special case */
                if (me->last_line == me->last_line->next)
-                   nextline = me->last_line;
+                   nxt_line = nextline = me->last_line; /* XXX nxt_line 
needed? */
                if (line == first_line->next)
                    first_line = nxt_line->prev;
-               line = nextline->prev;
+               line = nxt_line->prev;
            } else if (do_unsplit) {    /* Need to shift horizontally */
                int opos = 0, npos = do_unsplit;
 

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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