Made complain() break into the debugger on Windows because abort() is eaten up and seen as successful termination.

This commit is contained in:
Pietro Gagliardi 2015-05-17 18:53:49 -04:00
parent bec0cdce84
commit 69e27488f7
1 changed files with 2 additions and 1 deletions

View File

@ -82,7 +82,8 @@ void complain(const char *fmt, ...)
vfprintf(stderr, fmt, ap);
fprintf(stderr, "\n");
va_end(ap);
abort();
DebugBreak();
abort(); // just in case
}
// wrapper around MapWindowRect() that handles the complex error handling