lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev Re: [dev.15] patch for TEXTAREA edit (bug fixes)


From: Kim DeVaughn
Subject: lynx-dev Re: [dev.15] patch for TEXTAREA edit (bug fixes)
Date: Tue, 2 Feb 1999 07:18:47 -0800

On Tue, Feb 02, 1999, I said:
|
| This is an update of my edit TEXTAREA patch, which was taken against
| a clean 2.8.2dev.15 (so previously posted patches to that version
| should be -R'd, or use a fresh copy of the release).

Urk ...!

Here is a patchlet to apply on top of the preceeding patch.

Just found a var that I was failing to increment, if a TEXTAREA has
been expanded.  'Tain't the first one I've overlooked ... probably
isn't the last one either ...

/kim


--- GridText.c.orig     Tue Feb  2 01:35:06 1999
+++ GridText.c  Tue Feb  2 07:01:47 1999
@@ -9207,8 +9207,9 @@
           }
        }
 
-        HTMainText->Lines += n;
-        HTMainText->chars += (i + tag_adj);
+        HTMainText->Lines              += n;
+       HTMainText->last_anchor_number += n;
+        HTMainText->chars              += (i + tag_adj);
     }
 
     CTRACE(tfp, "GridText: struct's adjusted - exiting HText_ExtEditForm()\n");
##--eof--##

reply via email to

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