You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
388 B
20 lines
388 B
--- a/libbb/printable_string.c
|
|
+++ b/libbb/printable_string.c
|
|
@@ -31,8 +31,6 @@ const char* FAST_FUNC printable_string(u
|
|
}
|
|
if (c < ' ')
|
|
break;
|
|
- if (c >= 0x7f)
|
|
- break;
|
|
s++;
|
|
}
|
|
|
|
@@ -45,7 +43,7 @@ const char* FAST_FUNC printable_string(u
|
|
unsigned char c = *d;
|
|
if (c == '\0')
|
|
break;
|
|
- if (c < ' ' || c >= 0x7f)
|
|
+ if (c < ' ')
|
|
*d = '?';
|
|
d++;
|
|
}
|
|
|