Made complain() break into the debugger on Windows because abort() is eaten up and seen as successful termination.
This commit is contained in:
parent
bec0cdce84
commit
69e27488f7
|
@ -82,7 +82,8 @@ void complain(const char *fmt, ...)
|
||||||
vfprintf(stderr, fmt, ap);
|
vfprintf(stderr, fmt, ap);
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
abort();
|
DebugBreak();
|
||||||
|
abort(); // just in case
|
||||||
}
|
}
|
||||||
|
|
||||||
// wrapper around MapWindowRect() that handles the complex error handling
|
// wrapper around MapWindowRect() that handles the complex error handling
|
||||||
|
|
Loading…
Reference in New Issue