aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorEugene Sandulenko2006-03-07 13:41:36 +0000
committerEugene Sandulenko2006-03-07 13:41:36 +0000
commit1eff73cb412c6c403be82cde77ee61b9944f805e (patch)
tree532b9085f3093085034ea779732312d13170b5e0 /common
parent059c7a0296fdf71e80caf15092d3f629a6c43122 (diff)
downloadscummvm-rg350-1eff73cb412c6c403be82cde77ee61b9944f805e.tar.gz
scummvm-rg350-1eff73cb412c6c403be82cde77ee61b9944f805e.tar.bz2
scummvm-rg350-1eff73cb412c6c403be82cde77ee61b9944f805e.zip
GUI widget positions:
o Add 'true' and 'false' constants o add .visible widget property o allow dots to be part of section and key names in configs svn-id: r21123
Diffstat (limited to 'common')
-rw-r--r--common/config-file.cpp2
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;
}