Ticket #2372 (Editor sometimes shows multibyte UTF-8 chars as two dots)
commit3e1b644f41ed6946a0201cdc299a6a170f32c19e
authorSergey <sergemp@mail.ru>
Sat, 15 Oct 2011 12:42:43 +0000 (15 12:42 +0000)
committerIlia Maslakov <il.smind@gmail.com>
Mon, 24 Oct 2011 07:19:03 +0000 (24 11:19 +0400)
treebf817d9770dc5d9cdacf9521385278c93b29a425
parent8fd8c23a496f8e7c9efe02cf2b71e877c7d661e3
Ticket #2372 (Editor sometimes shows multibyte UTF-8 chars as two dots)

Sometimes when text contain multibyte UTF-8 chars, editor shows two dots instead of some letter.
When moving text cursor after that letter it will be displayed properly.
When moving cursor back (before letter) it will be displayed again as two dots.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
added UTF8_CHAR_LEN

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
lib/global.h
src/editor/edit.c