viewer UTF-8: Correctly position cursor for ACT_EDIT_LEFT in text input field.
commit7dcc6c9a19a1ff8093b39d5c59c92640e6da13c4
authorKalle Olavi Niemitalo <kon@iki.fi>
Mon, 31 Jul 2006 19:46:36 +0000 (31 21:46 +0200)
committerWitold Filipczyk <nobody@nowhere>
Mon, 31 Jul 2006 19:46:36 +0000 (31 21:46 +0200)
treebcd03e23e6064316ef5b212a22b801e4a47d0615
parent5fd284d6a26aecbe8a50b3a073738d1bcc578de2
viewer UTF-8: Correctly position cursor for ACT_EDIT_LEFT in text input field.

To reproduce the bug before this patch:
Enable CONFIG_UTF_8, UTF-8 I/O, and UTF-8 charset.
Go to www.google.com and type "abc" in the text input field.
Then press Left.  The cursor jumps to "a" when it should go to "c".
src/viewer/text/form.c