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:
parent
16781da4f9
commit
360660947b
3 changed files with 12 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue