From: ewt Date: Wed, 17 Sep 1997 02:12:17 +0000 (+0000) Subject: reduced tolerance for tall (but skinny) windows X-Git-Tag: r0-12~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aab1a82c6348b74e6ad7a515cd63062b42b58855;p=thirdparty%2Fnewt.git reduced tolerance for tall (but skinny) windows --- diff --git a/windows.c b/windows.c index c5cf764..d2e58ec 100644 --- a/windows.c +++ b/windows.c @@ -25,7 +25,7 @@ static int newtvwindow(char * title, char * button1, char * button2, } while (i == size); flowedText = newtReflowText(buf, 35, 5, 5, &width, &height); - if (height > 10) { + if (height > 6) { free(flowedText); flowedText = newtReflowText(buf, 60, 5, 5, &width, &height); }