From: ewt Date: Sat, 1 Aug 1998 15:43:10 +0000 (+0000) Subject: listboxes need to be told to scroll instead of not to not scroll X-Git-Tag: r0-30~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=564b19596ce3c48bdf4604babb82a8e8c4b5607b;p=thirdparty%2Fnewt.git listboxes need to be told to scroll instead of not to not scroll --- diff --git a/windows.c b/windows.c index 99a65e2..e9d607d 100644 --- a/windows.c +++ b/windows.c @@ -152,7 +152,7 @@ int newtWinMenu(char * title, char * text, int suggestedWidth, int flexDown, needScroll = i > maxListHeight; listbox = newtListbox(-1, -1, maxListHeight, - (needScroll ? 0 : NEWT_FLAG_NOSCROLL) | NEWT_FLAG_RETURNEXIT); + (needScroll ? NEWT_FLAG_SCROLL : 0) | NEWT_FLAG_RETURNEXIT); for (i = 0; items[i]; i++) { newtListboxAddEntry(listbox, items[i], (void *) i); }