diff options
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r-- | libbb/appletlib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 51824f1b3..c90285ae9 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -1349,6 +1349,10 @@ int main(int argc UNUSED_PARAM, char **argv) | |||
1349 | break; | 1349 | break; |
1350 | } | 1350 | } |
1351 | } | 1351 | } |
1352 | |||
1353 | /* Have this process handle critical errors itself: the default | ||
1354 | * system-generated error dialogs may be inconvenient. */ | ||
1355 | SetErrorMode(SEM_FAILCRITICALERRORS); | ||
1352 | #endif | 1356 | #endif |
1353 | 1357 | ||
1354 | #if defined(__MINGW64_VERSION_MAJOR) | 1358 | #if defined(__MINGW64_VERSION_MAJOR) |