summaryrefslogtreecommitdiff
path: root/enc/gb18030.c
diff options
context:
space:
mode:
Diffstat (limited to 'enc/gb18030.c')
-rw-r--r--enc/gb18030.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/gb18030.c b/enc/gb18030.c
index 2b707d4a7d..16c8c1c17f 100644
--- a/enc/gb18030.c
+++ b/enc/gb18030.c
@@ -245,7 +245,7 @@ enum state {
};
static UChar*
-gb18030_left_adjust_char_head(const UChar* start, const UChar* s, OnigEncoding enc)
+gb18030_left_adjust_char_head(const UChar* start, const UChar* s, const UChar* end, OnigEncoding enc)
{
const UChar *p;
enum state state = S_START;