Code

list_window: reset cursor when list is empty
authorMax Kellermann <max@duempel.org>
Tue, 25 Nov 2008 17:44:42 +0000 (18:44 +0100)
committerMax Kellermann <max@duempel.org>
Tue, 25 Nov 2008 17:44:42 +0000 (18:44 +0100)
commitb320d4d5c6824732a968cd3d5ab547f82e7ae315
tree5992bd19ee6beb1fef26ad154da81c9ebdb5a82e
parent2193aa81c5a8508ef8aaa1dd82f5dd0609d1860a
list_window: reset cursor when list is empty

Due to a side effect of the old "if" condition, the cursor was never
reset to the origin when the list was cleared.
src/list_window.c