diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 27d69d428..3b3cb49d3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -561,7 +561,7 @@ bool string_is_valid_identifier(String str) { isize offset = 0; while (offset < str.len) { Rune r = 0; - w = gb_utf8_decode(str.text, str.len, &r); + w = utf8_decode(str.text, str.len, &r); if (r == GB_RUNE_INVALID) { return false; } |