[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev [PATCH] to dev 14 - urgent bug fix for lss-enabled lynx's users
From: |
Vlad Harchev |
Subject: |
lynx-dev [PATCH] to dev 14 - urgent bug fix for lss-enabled lynx's users |
Date: |
Thu, 4 Nov 1999 13:08:37 +0400 (SAMT) |
* bug that caused lss-enabled lynx to crash on growing textarea or inserting
file into it.
Notes:
This patch must be applied by users of lss-enabled dev14, otherwise crashes
are guaranteed. Sorry. I used that code for 2 monthes, but seems I never
expanded textareas nor inserted files in textarea during those 2 months.
Best regards,
-Vlad
diff -ru old/src/GridText.c fixed/src/GridText.c
--- old/src/GridText.c Thu Nov 4 12:52:41 1999
+++ fixed/src/GridText.c Thu Nov 4 12:57:48 1999
@@ -11720,6 +11720,10 @@
#if defined(USE_COLOR_STYLE)
/* dup styles[] if needed [no need in TEXTAREA (?); leave 0's] */
l->numstyles = htline->numstyles;
+#ifndef OLD_HTSTYLECHANGE
+ /*we fork the pointers!*/
+ l->styles = htline->styles;
+#endif
#endif
strcpy (l->data, htline->data);
if (keypad_mode == LINKS_AND_FIELDS_ARE_NUMBERED) {
@@ -12589,6 +12593,10 @@
#if defined(USE_COLOR_STYLE)
/* dup styles[] if needed [no need in TEXTAREA (?); leave 0's] */
l->numstyles = htline->numstyles;
+#ifndef OLD_HTSTYLECHANGE
+ /*we fork the pointers!*/
+ l->styles = htline->styles;
+#endif
#endif
strcpy (l->data, htline->data);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lynx-dev [PATCH] to dev 14 - urgent bug fix for lss-enabled lynx's users,
Vlad Harchev <=