diff options
author | George Hazan <ghazan@miranda.im> | 2019-12-16 20:59:14 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-12-16 20:59:14 +0300 |
commit | 762cd6b8b161223d01aee31c422ce507838d3df6 (patch) | |
tree | f865846e48b5d7ab21b85417e0a34bc41a815213 | |
parent | 060f3c97377b45aa12cdd4f01baab1a52748f4a3 (diff) |
typo fix
-rw-r--r-- | src/mir_core/src/tinyxml2.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mir_core/src/tinyxml2.cpp b/src/mir_core/src/tinyxml2.cpp index 5e4b1b22ad..8bc8dd03c2 100644 --- a/src/mir_core/src/tinyxml2.cpp +++ b/src/mir_core/src/tinyxml2.cpp @@ -617,17 +617,17 @@ bool XMLUtil::ToBool( const char* str, bool* value ) *value = (ival==0) ? false : true; return true; } - static const char* ñTRUE[] = { "true", "True", "TRUE", 0 }; - static const char* ñFALSE[] = { "false", "False", "FALSE", 0 }; + static const char* szTRUE[] = { "true", "True", "TRUE", 0 }; + static const char* szFALSE[] = { "false", "False", "FALSE", 0 }; - for (int i = 0; ñTRUE[i]; ++i) { - if (StringEqual(str, ñTRUE[i])) { + for (int i = 0; szTRUE[i]; ++i) { + if (StringEqual(str, szTRUE[i])) { *value = true; return true; } } - for (int i = 0; ñFALSE[i]; ++i) { - if (StringEqual(str, ñFALSE[i])) { + for (int i = 0; szFALSE[i]; ++i) { + if (StringEqual(str, szFALSE[i])) { *value = false; return true; } |