summaryrefslogtreecommitdiff
path: root/source/q_shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/q_shared.c')
-rw-r--r--source/q_shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/q_shared.c b/source/q_shared.c
index 8706ddb..c349586 100644
--- a/source/q_shared.c
+++ b/source/q_shared.c
@@ -1240,7 +1240,7 @@ qboolean Info_SetValueForKey( char *s, const char *key, const char *value ) {
while( *v ) {
c = *v++;
c &= 127; // strip high bits
- if( c >= 32 && c < 127 )
+ if( Q_isprint( c ) )
*s++ = c;
}
*s = 0;