aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/appletlib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 34082ad94..254fa251f 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -1395,10 +1395,9 @@ int main(int argc UNUSED_PARAM, char **argv)
1395 argv++; 1395 argv++;
1396# endif 1396# endif
1397 applet_name = argv[0]; 1397 applet_name = argv[0];
1398# if !ENABLE_PLATFORM_MINGW32
1399 if (applet_name[0] == '-') 1398 if (applet_name[0] == '-')
1400 applet_name++; 1399 applet_name++;
1401# else 1400# if ENABLE_PLATFORM_MINGW32
1402 str_tolower(argv[0]); 1401 str_tolower(argv[0]);
1403 bs_to_slash(argv[0]); 1402 bs_to_slash(argv[0]);
1404 if (has_exe_suffix_or_dot(argv[0])) { 1403 if (has_exe_suffix_or_dot(argv[0])) {