From 84b87695f7a78f49646002072e6a660f3bca8333 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sat, 9 Feb 2013 00:48:21 -0700 Subject: Fixed crashing bug on resizing configuration screen --- .gitignore | 1 + alpine/confscroll.c | 2 +- pith/pine.hlp | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0a7f0643..e0082027 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ imap/an dmail imap/ip6 include/ +autom4te* diff --git a/alpine/confscroll.c b/alpine/confscroll.c index 24829265..24a8e80e 100644 --- a/alpine/confscroll.c +++ b/alpine/confscroll.c @@ -3035,7 +3035,7 @@ update_option_screen(struct pine *ps, OPT_SCREEN_S *screen, Pos *cursor_pos) int last_selectable; mswin_beginupdate(); #endif - if(screen == NULL) + if(screen == NULL || BODY_LINES(ps) < 0) return; if(cursor_pos){ diff --git a/pith/pine.hlp b/pith/pine.hlp index 07ff3cc0..26877cfb 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -199,7 +199,8 @@ message, as specified by original sender. Bugs that have been addressed include:

-- cgit v1.2.3-54-g00ecf