follow-up to <Someone>'s patch.

I left a couple of prepanic() calls in there accidentally
when modifying the patch.

Michael
This commit is contained in:
nethack.allison
2002-03-07 23:24:11 +00:00
parent 8a984ed35e
commit 9940848030

View File

@@ -101,7 +101,7 @@ int APIENTRY WinMain(HINSTANCE hInstance,
sprintf(buf, "Cannot load common control library.\n"
"Visit %s\n"
"to download the common control library.", COMCTL_URL);
prepanic(buf);
panic(buf);
}
if (major < MIN_COMCTLMAJOR
|| (major == MIN_COMCTLMAJOR && minor < MIN_COMCTLMINOR))
@@ -111,7 +111,7 @@ int APIENTRY WinMain(HINSTANCE hInstance,
"NetHack requires at least version %d.%d\n"
"Visit %s\n"
"for an updated version.", MIN_COMCTLMAJOR, MIN_COMCTLMINOR, COMCTL_URL);
prepanic(buf);
panic(buf);
}
ZeroMemory(&InitCtrls, sizeof(InitCtrls));
InitCtrls.dwSize = sizeof(InitCtrls);