equal
deleted
inserted
replaced
1459 |
1459 |
1460 SetUnhandledExceptionFilter(ExceptionHandler); |
1460 SetUnhandledExceptionFilter(ExceptionHandler); |
1461 } |
1461 } |
1462 #else |
1462 #else |
1463 /* Get rid of unused variable warnings.. ShowOSErrorBox |
1463 /* Get rid of unused variable warnings.. ShowOSErrorBox |
1464 * is now used twice, once in MSVC, and once in all other Win |
1464 * is now used twice, once in MSVC, and once in all other Win |
1465 * compilers (cygwin, mingw, etc.) */ |
1465 * compilers (cygwin, mingw, etc.) */ |
1466 void ShowOSErrorBox(const char *buf) |
1466 void ShowOSErrorBox(const char *buf) |
1467 { |
1467 { |
1468 MyShowCursor(true); |
1468 MyShowCursor(true); |
1469 MessageBoxA(GetActiveWindow(), buf, "Error!", MB_ICONSTOP); |
1469 MessageBoxA(GetActiveWindow(), buf, "Error!", MB_ICONSTOP); |