summaryrefslogtreecommitdiff
path: root/plugins/dexbnf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-01-25 18:12:52 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-01-25 18:12:52 (GMT)
commit61c9454a718b1cf87029833d5fb493e09990dbfe (patch)
tree2a134c6d8880f17e41f746b7b9d93018995e56b8 /plugins/dexbnf
parentd7a7c0dc3f20664f3e4d6bd7a3caa08bb6511cd9 (diff)
Handled the MUTF-8 U+0000 code point.
Diffstat (limited to 'plugins/dexbnf')
-rw-r--r--plugins/dexbnf/simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dexbnf/simple.c b/plugins/dexbnf/simple.c
index f06fc4d..fd7b8ab 100644
--- a/plugins/dexbnf/simple.c
+++ b/plugins/dexbnf/simple.c
@@ -132,7 +132,7 @@ static size_t dcd_simple_name_char(input_buffer *buffer)
text = get_input_buffer_text_access(buffer);
remaining = count_input_buffer_remaining(buffer);
- wc = decode_utf8_char((unsigned char *)text, remaining, &result);
+ wc = decode_mutf8_char((unsigned char *)text, remaining, &result);
if (IS_UTF8_ERROR(wc))
return 0;