aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-06-23 09:06:19 +0100
committerRon Yorston <rmy@pobox.com>2024-06-23 09:06:19 +0100
commit1b094d366f808a2ebc4824004f0d6f75f13c09cb (patch)
treef285b99619a22d6be08f8fba20a9f27496dc616d /libbb
parent89ecbdcaab6ad1510a9f2058c4585ab4c17be743 (diff)
downloadbusybox-w32-1b094d366f808a2ebc4824004f0d6f75f13c09cb.tar.gz
busybox-w32-1b094d366f808a2ebc4824004f0d6f75f13c09cb.tar.bz2
busybox-w32-1b094d366f808a2ebc4824004f0d6f75f13c09cb.zip
win32: code shrink BB_CRITICAL_ERROR_DIALOGS
Rewrite the test for the value of BB_CRITICAL_ERROR_DIALOGS. Saves 16-48 bytes.
Diffstat (limited to 'libbb')
-rw-r--r--libbb/appletlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 121959376..54be59f2d 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -1352,7 +1352,7 @@ int main(int argc UNUSED_PARAM, char **argv)
1352 1352
1353 /* Have this process handle critical errors itself: the default 1353 /* Have this process handle critical errors itself: the default
1354 * system-generated error dialogs may be inconvenient. */ 1354 * system-generated error dialogs may be inconvenient. */
1355 change_critical_error_dialogs(getenv(BB_CRITICAL_ERROR_DIALOGS) ?: ""); 1355 change_critical_error_dialogs(getenv(BB_CRITICAL_ERROR_DIALOGS));
1356#endif 1356#endif
1357 1357
1358#if defined(__MINGW64_VERSION_MAJOR) 1358#if defined(__MINGW64_VERSION_MAJOR)