From ebd8696266e00cb2ff5851b6c3c39e63817d2af2 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 15 Nov 1994 12:17:42 +0000 Subject: [PATCH] Use autodetected dimensions in Sorry! window --- sbin/sysinstall/ourcurses.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/sysinstall/ourcurses.c b/sbin/sysinstall/ourcurses.c index 4801fd3341d..95b808a0562 100644 --- a/sbin/sysinstall/ourcurses.c +++ b/sbin/sysinstall/ourcurses.c @@ -174,7 +174,7 @@ ShowFile(char *filename, char *header) char buf[256]; if (access(filename, R_OK)) { sprintf(buf, "The %s file is not provided on the 1.2MB floppy image.", filename); - dialog_msgbox("Sorry!", buf, 6, 75, 1); + dialog_msgbox("Sorry!", buf, strheight(buf)+4, strwidth(buf)+4, 1); return; } dialog_clear();