/* -*-C-*-
-$Id: os2pm.c,v 1.30 1997/04/01 05:57:25 cph Exp $
+$Id: os2pm.c,v 1.31 1997/05/21 06:30:59 cph Exp $
Copyright (c) 1994-97 Massachusetts Institute of Technology
{
char buffer [1024];
ERRORID code = (WinGetLastError (pm_hab));
- sprintf (buffer, "%s error 0x%08x occurred in the %s procedure. \
-This indicates a bug in the Scheme implementation. \
-Please report this information to a Scheme wizard.",
- (fatalp ? "Fatal" : "Non-fatal"), code, name);
if (fatalp)
- OS2_logic_error (buffer);
+ {
+ sprintf (buffer, "Fatal error 0x%08x occurred in the %s procedure.",
+ code, name);
+ OS2_logic_error (buffer);
+ }
else
- (void) WinMessageBox (HWND_DESKTOP,
- NULLHANDLE,
- buffer,
- "Scheme Error",
- 0,
- (MB_OK | MB_WARNING));
+ {
+ sprintf (buffer, "Non-fatal error 0x%08x occurred in the %s procedure. \
+This indicates a bug in the Scheme implementation. \
+Please report this information to a Scheme wizard.",
+ code, name);
+ (void) WinMessageBox (HWND_DESKTOP,
+ NULLHANDLE,
+ buffer,
+ "Scheme Error",
+ 0,
+ (MB_OK | MB_WARNING));
+ }
}
void