diff options
Diffstat (limited to 'common/config-file.cpp')
-rw-r--r-- | common/config-file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/config-file.cpp b/common/config-file.cpp index a5ef6a17ba..cb770f625e 100644 --- a/common/config-file.cpp +++ b/common/config-file.cpp @@ -51,7 +51,7 @@ static char *rtrim(char *t) { */ bool ConfigFile::isValidName(const Common::String &name) { const char *p = name.c_str(); - while (*p && (isalnum(*p) || *p == '-' || *p == '_')) + while (*p && (isalnum(*p) || *p == '-' || *p == '_' || *p == '.')) p++; return *p == 0; } |