diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-05-28 00:36:06 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-05-28 00:36:06 -0600 |
commit | 7d52215d26b6bec1888f546da5d56657cfb16516 (patch) | |
tree | 6ae0088b05bc1475f1ff718a3c3a0dd93957cd63 /alpine/confscroll.c | |
parent | 5c30b8df3075199ee502f5003d71297d7c117665 (diff) | |
download | alpine-7d52215d26b6bec1888f546da5d56657cfb16516.tar.xz |
* Changes to configure.ac to fix build in Debian/Ubuntu.
- added check for libpam
- added check for libcrypto
Diffstat (limited to 'alpine/confscroll.c')
-rw-r--r-- | alpine/confscroll.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/alpine/confscroll.c b/alpine/confscroll.c index 24a8e80e..b4aa3218 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 || BODY_LINES(ps) < 0) + if(screen == NULL || BODY_LINES(ps) < 1) return; if(cursor_pos){ @@ -3143,6 +3143,7 @@ update_option_screen(struct pine *ps, OPT_SCREEN_S *screen, Pos *cursor_pos) } value = (ctmp->flags & CF_INHERIT) ? INHERIT : ctmp->value; + dprint((1, "value = %s", ctmp->value)); if(value){ char *p; int i, j; @@ -3678,6 +3679,7 @@ update_option_screen(struct pine *ps, OPT_SCREEN_S *screen, Pos *cursor_pos) } } else{ + dprint((1, "value = %s, tmp_20k = %s", ctmp->value, tmp_20k_buf)); w = utf8_width(tmp_20k_buf); want_width = ps->ttyo->screen_cols - ctmp->valoffset; if(w > want_width){ |