aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/printable_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/printable_string.c b/libbb/printable_string.c
index a316f60de..3e768d0b9 100644
--- a/libbb/printable_string.c
+++ b/libbb/printable_string.c
@@ -45,7 +45,7 @@ const char* FAST_FUNC printable_string(uni_stat_t *stats, const char *str)
45 unsigned char c = *d; 45 unsigned char c = *d;
46 if (c == '\0') 46 if (c == '\0')
47 break; 47 break;
48 if (c < ' ' || c >= 0x7f) 48 if (c < ' ' || (c >= 0x7f && !ENABLE_PLATFORM_MINGW32))
49 *d = '?'; 49 *d = '?';
50 d++; 50 d++;
51 } 51 }