1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Use autodetected dimensions in Sorry! window

This commit is contained in:
Andrey A. Chernov 1994-11-15 12:17:42 +00:00
parent f7b5cb4380
commit ebd8696266
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4495

View File

@ -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();