aboutsummaryrefslogtreecommitdiff
path: root/core/encoding
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-01-03 00:12:24 +0000
committergingerBill <bill@gingerbill.org>2019-01-03 00:12:24 +0000
commitdd28fe6e82cca59ad5104275ffbbfa2e7d5fd33a (patch)
treec5f2753705858f54bc34f629252b0e3f9d4a1f85 /core/encoding
parentcda0f4d8f37e738af30141c134419c412a580e0c (diff)
Update CEL
Diffstat (limited to 'core/encoding')
-rw-r--r--core/encoding/cel/cel.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/encoding/cel/cel.odin b/core/encoding/cel/cel.odin
index 7d59cd386..3f7362203 100644
--- a/core/encoding/cel/cel.odin
+++ b/core/encoding/cel/cel.odin
@@ -205,7 +205,7 @@ unquote_char :: proc(s: string, quote: byte) -> (r: rune, multiple_bytes: bool,
if s[0] == quote && quote == '"' {
return;
} else if s[0] >= 0x80 {
- r, w := utf8.decode_rune_from_string(s);
+ r, w := utf8.decode_rune_in_string(s);
return r, true, s[w:], true;
} else if s[0] != '\\' {
return rune(s[0]), false, s[1:], true;