From 19644585485799d19bf98035c8b2b2b1ab402c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Tom=C3=A1s?= Date: Sat, 20 Jun 2020 18:48:48 -0300 Subject: Fix unicode break on border between pages --- point.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'point.cpp') diff --git a/point.cpp b/point.cpp index 8f05a46..a331cb7 100644 --- a/point.cpp +++ b/point.cpp @@ -140,6 +140,7 @@ struct Point { for (size_t i = 1; i < type; i++) { rune <<= 6; iter.move_forward(); + if (iter.index == 0) iter.move_forward(); rune |= (iter.next_byte() & 0x3f); } return rune; -- cgit v1.2.3