summaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.cpp')
-rw-r--r--src/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.cpp b/src/string.cpp
index 4c714a2e0..521d96c4a 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -170,7 +170,7 @@ void str_fix_scc_encoded(char *str, const char *last)
if ((len == 0 && str + 4 > last) || str + len > last) break;
WChar c;
- len = Utf8Decode(&c, str);
+ Utf8Decode(&c, str);
if (c == '\0') break;
if (c == 0xE028 || c == 0xE02A) {