From 9940848030868bc6c72ee81384098881355ae2e9 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Thu, 7 Mar 2002 23:24:11 +0000 Subject: [PATCH] follow-up to 's patch. I left a couple of prepanic() calls in there accidentally when modifying the patch. Michael --- win/win32/winhack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/win32/winhack.c b/win/win32/winhack.c index 08182ec8b..3572e46aa 100644 --- a/win/win32/winhack.c +++ b/win/win32/winhack.c @@ -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);