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:
parent
6f87164ad6
commit
fb75137540
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user