summaryrefslogtreecommitdiff
path: root/src/game/g_svcmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_svcmds.c')
-rw-r--r--src/game/g_svcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_svcmds.c b/src/game/g_svcmds.c
index 6ede44be..be2a4da6 100644
--- a/src/game/g_svcmds.c
+++ b/src/game/g_svcmds.c
@@ -502,7 +502,7 @@ void Svcmd_LayoutSave_f( void )
{
if( ( *s >= '0' && *s <= '9' ) ||
( *s >= 'a' && *s <= 'z' ) ||
- ( *s >= 'A' && *s <= 'Z' ) )
+ ( *s >= 'A' && *s <= 'Z' ) || *s == '-' || *s == '_' )
{
str2[ i++ ] = *s;
str2[ i ] = '\0';