FileCommands: fix wrong control character check in IsValidValue()

Check was the wrong way around, and made all valid values invisible.
This commit is contained in:
Max Kellermann 2013-10-26 16:03:53 +02:00
parent 6f87164ad6
commit fb75137540

View File

@ -56,7 +56,7 @@ IsValidValue(const char *p)
while (*p) {
const char ch = *p++;
if ((unsigned char)ch >= 0x20)
if ((unsigned char)ch < 0x20)
return false;
}