diff options
author | Dmitrij D. Czarkoff <czarkoff@gmail.com> | 2016-04-26 20:27:16 +0200 |
---|---|---|
committer | Dmitrij D. Czarkoff <czarkoff@gmail.com> | 2016-04-26 20:30:58 +0200 |
commit | 4d2f36a98be483e021845e4e8fc17722a8aa800c (patch) | |
tree | 1da0a602202bca0bca3d3442e522a55c1003b265 /src/viewport.c | |
parent | 42fe047e7343b42369244d1d6e73f884af777c01 (diff) | |
download | imv-4d2f36a98be483e021845e4e8fc17722a8aa800c.tar.gz |
Fix segmentation violation
When non-cycling mode prevents navigator from wrapping to the other end of list,
undo change to nav->cur_path. Otherwise it will remain out-of-bounds, so that
subsequent calls to navigator functions may produce unexpected results, up to
segmentation violation.
Fixes #93
Diffstat (limited to 'src/viewport.c')
0 files changed, 0 insertions, 0 deletions