]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
reduced tolerance for tall (but skinny) windows
authorewt <ewt>
Wed, 17 Sep 1997 02:12:17 +0000 (02:12 +0000)
committerewt <ewt>
Wed, 17 Sep 1997 02:12:17 +0000 (02:12 +0000)
windows.c

index c5cf7642ed060a7290801c3f66799ce3055109f8..d2e58ec4521dfea0ccc3d4f78b11db5cb51ccf62 100644 (file)
--- 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);
     }