lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev [PATCH 2.8.5-dev16c7] table missing fix


From: Ilya Zakharevich
Subject: lynx-dev [PATCH 2.8.5-dev16c7] table missing fix
Date: Mon, 6 Oct 2003 13:42:30 -0700
User-agent: Mutt/1.4i

I think this edit was omited (it fixes the remaining problem) in
dev16c7.  Some other patches of mine are not applied yet:

  _A=.a         in Makefiles
  [PATCH 2.8.5-dev15] table indentation

(maybe more, I did not check it yet).  Moreover, configure's LIBOBJS
logic is wrong (uses .o instead of ${ac_objext}).

Hope this helps,
Ilya

--- ./src/GridText.c-pre        Mon Oct  6 10:54:26 2003
+++ ./src/GridText.c    Mon Oct  6 13:29:08 2003
@@ -4932,17 +4932,18 @@ PRIVATE int HText_insertBlanksInStblLine
                    insert_blanks_in_line(line, lineno - deleted, me,
                                          &me->last_anchor_before_stbl 
/*updates++*/,
                                          1, &opos, &npos);
-               if (line == me->last_line) {
-                   me->last_line = mod_line;
-               } else {
-                   added_chars_before += (mod_line->size - line->size);
-               }
-               line->prev->next = mod_line;
-               line->next->prev = mod_line;
-               lines_changed++;
-               if (line == first_line)
-                   first_line = mod_line;
-               line = mod_line;
+               if (mod_line) {
+                   if (line == me->last_line) {
+                       me->last_line = mod_line;
+                   } else {
+                       added_chars_before += (mod_line->size - line->size);
+                   }
+                   line->prev->next = mod_line;
+                   line->next->prev = mod_line;
+                   lines_changed++;
+                   if (line == first_line)
+                       first_line = mod_line;
+                   line = mod_line;
 #ifdef DISP_PARTIAL
                /*
                 *  Make sure modified lines get fully re-displayed after
@@ -4957,6 +4958,7 @@ PRIVATE int HText_insertBlanksInStblLine
                    }
                }
 #endif
+               }
            }
        }
        {

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

reply via email to

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