diff options
Diffstat (limited to 'src/util/string.h')
-rw-r--r-- | src/util/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/string.h b/src/util/string.h index d9390e33c..7531600e3 100644 --- a/src/util/string.h +++ b/src/util/string.h @@ -307,7 +307,7 @@ inline std::string unescape_string(std::string &s) { std::string res; - for (size_t i = 0; i <= s.length(); i++) { + for (size_t i = 0; i < s.length(); i++) { if (s[i] == '\\') i++; res += s[i]; |