Ticket #2543: Hex viewer mode does not restore cursor position.
commit6253decba56beeaa08b19e15223b934ae5ab4afd
authorVitaliy Filippov <vitalif@yourcmc.ru>
Thu, 22 Sep 2011 17:29:40 +0000 (22 21:29 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Thu, 22 Sep 2011 17:29:40 +0000 (22 21:29 +0400)
tree29a5652eb3c21e4edafd3145afb77d06fc6e83a4
parent07c14a4a62b9656b91e241e465cbf25695714d42
Ticket #2543: Hex viewer mode does not restore cursor position.

If you are in hex viewer mode and viewer remembers file positions, the
viewer restores the start position, but does not restore the position
of cursor.
So the restored position is basically useless in hex mode, because when
you move cursor, you go back to the beginning of file.

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