Ticket #2543: Hex viewer mode does not restore cursor position.
commitfe240f11029ef36b2731a13bce4f331bb95a4c42
authorVitaliy Filippov <vitalif@yourcmc.ru>
Thu, 22 Sep 2011 17:29:40 +0000 (22 21:29 +0400)
committerAndrew Borodin <aborodin@vmail.ru>
Wed, 28 Sep 2011 10:00:55 +0000 (28 14:00 +0400)
treea5ed35aafa9ac4b257122db50bf1d38032b9a48b
parentc21f9d0f67946d08dc3d787b7f18e9819e3a6703
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