From 88c28414f4a88c8d66f9cadb150896f9e25527ae Mon Sep 17 00:00:00 2001 From: kwolekr Date: Tue, 9 Dec 2014 23:52:13 -0500 Subject: Settings: Sanitize setting name everywhere, not just LuaSettings --- src/settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/settings.h') diff --git a/src/settings.h b/src/settings.h index 7241877bd..cf27f2620 100644 --- a/src/settings.h +++ b/src/settings.h @@ -55,6 +55,7 @@ struct ValueSpec { type = a_type; help = a_help; } + ValueType type; const char *help; }; @@ -112,7 +113,6 @@ public: const std::string &end, u32 tab_depth=0); static std::string getMultiline(std::istream &is, size_t *num_lines=NULL); - static std::string sanitizeString(const std::string &value); static void printEntry(std::ostream &os, const std::string &name, const SettingsEntry &entry, u32 tab_depth=0); -- cgit v1.2.3