Commit fb751375 authored by Max Kellermann's avatar Max Kellermann

FileCommands: fix wrong control character check in IsValidValue()

Check was the wrong way around, and made all valid values invisible.
parent 6f87164a
...@@ -56,7 +56,7 @@ IsValidValue(const char *p) ...@@ -56,7 +56,7 @@ IsValidValue(const char *p)
while (*p) { while (*p) {
const char ch = *p++; const char ch = *p++;
if ((unsigned char)ch >= 0x20) if ((unsigned char)ch < 0x20)
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment