From c4a59b4ff006e55f42780340f1fdcdbffad5821c Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Tue, 29 Oct 2019 23:23:42 -0600 Subject: * 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. --- pico/estruct.h | 4 ++-- pith/pine.hlp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pico/estruct.h b/pico/estruct.h index 128ccaf..2d0f650 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 2e7438a..0ade960 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 ================= -- cgit v1.2.3-54-g00ecf