Ticket #3259: mcview hex edit: UTF-8 chars are not updated.
commita7d326d30b2ff2a16ddb0fdedae7bcea771d29b0
authorEgmont Koblinger <egmont@gmail.com>
Mon, 16 Feb 2015 07:29:03 +0000 (16 10:29 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Mon, 16 Feb 2015 07:29:03 +0000 (16 10:29 +0300)
tree5ec2898c1de8fbdb75fcb4ef106d2f5523d0de25
parent65b7867c2d8c2956a225596386a8366001e72d91
Ticket #3259: mcview hex edit: UTF-8 chars are not updated.

UTF-8 characters show up nicely in the right column (followed by a space
to align with the number of bytes).

However, as soon as you edit the file (either by the hex codes, or by
moving to the right column and entering an UTF-8 character), that
character doesn't show up there.

Expected: during editing the file, the right hand side should
continuously be updated to look exactly as if that was the original
contents of the file.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/viewer/hex.c