diff options
author | t895 <clombardo169@gmail.com> | 2023-12-29 01:08:12 -0500 |
---|---|---|
committer | t895 <clombardo169@gmail.com> | 2023-12-30 15:11:36 -0500 |
commit | 24a78dba319fc1183a47ec94e6a61add5225eb75 (patch) | |
tree | f96e07b981aabd610f46df72c5cb8f9a7f288c22 /src/frontend_common/config.h | |
parent | d163b182081401dbdcc5fc92c1692ff3209f2353 (diff) |
frontend_common: config: Do not count "." as a special character
It would break reading floating point settings
Diffstat (limited to 'src/frontend_common/config.h')
-rw-r--r-- | src/frontend_common/config.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/frontend_common/config.h b/src/frontend_common/config.h index e73cf6929..0c4d505b8 100644 --- a/src/frontend_common/config.h +++ b/src/frontend_common/config.h @@ -213,9 +213,8 @@ private: const std::optional<bool>& use_global); void WriteString(const std::string& key, const std::string& value); - inline static std::array<char, 19> special_characters = {'!', '#', '$', '%', '^', '&', '*', - '|', ';', '\'', '\"', ',', '<', '.', - '>', '?', '`', '~', '='}; + inline static std::array<char, 18> special_characters = { + '!', '#', '$', '%', '^', '&', '*', '|', ';', '\'', '\"', ',', '<', '>', '?', '`', '~', '='}; struct ConfigArray { std::string name; |