1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

LuaSettings: Sanitize setting name strings

This commit is contained in:
kwolekr 2014-11-30 19:01:37 -05:00
parent 16781da4f9
commit 360660947b
3 changed files with 12 additions and 1 deletions

View file

@ -117,6 +117,7 @@ public:
const std::string &end, u32 tab_depth=0);
static std::string getMultiline(std::istream &is);
static std::string sanitizeString(const std::string &value);
static void printValue(std::ostream &os, const std::string &name,
const SettingsEntry &entry, bool is_value_multiline, u32 tab_depth=0);