summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2019-10-29 23:23:42 -0600
committerEduardo Chappa <chappa@washington.edu>2019-10-29 23:23:42 -0600
commitc4a59b4ff006e55f42780340f1fdcdbffad5821c (patch)
tree58f1ec887f549b42a9699566701b7da5f2921a7f
parentbb598d500bcce509fa48ee7134ae632459cf1735 (diff)
downloadalpine-c4a59b4ff006e55f42780340f1fdcdbffad5821c.tar.xz
* Bug in Pico, which makes Alpine (and Pico) print garbage in the screen
when a screen is resized to a large number of rows. The solution was to change the type of two variables from "signed char" to "int". Reported by Joshua Miller.
-rw-r--r--pico/estruct.h4
-rw-r--r--pith/pine.hlp2
2 files changed, 3 insertions, 3 deletions
diff --git a/pico/estruct.h b/pico/estruct.h
index 128ccaff..2d0f650c 100644
--- a/pico/estruct.h
+++ b/pico/estruct.h
@@ -187,8 +187,8 @@ typedef struct WINDOW {
int w_marko; /* Byte offset for "mark" */
struct LINE *w_imarkp; /* INTERNAL Line with "mark" */
int w_imarko; /* INTERNAL "mark" byte offset */
- signed char w_toprow; /* Origin 0 top row of window */
- signed char w_ntrows; /* # of rows of text in window */
+ int w_toprow; /* Origin 0 top row of window */
+ int w_ntrows; /* # of rows of text in window */
char w_force; /* If NZ, forcing row. */
char w_flag; /* Flags. */
} WINDOW;
diff --git a/pith/pine.hlp b/pith/pine.hlp
index 2e7438a9..0ade960a 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 374 2019-10-27 17:57:41
+Alpine Commit 375 2019-10-29 23:23:37
============= h_news =================
<HTML>
<HEAD>