author | Max Kellermann <max@duempel.org> | |
Tue, 25 Nov 2008 17:44:42 +0000 (18:44 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 25 Nov 2008 17:44:42 +0000 (18:44 +0100) | ||
commit | b320d4d5c6824732a968cd3d5ab547f82e7ae315 | |
tree | 5992bd19ee6beb1fef26ad154da81c9ebdb5a82e | tree | snapshot |
parent | 2193aa81c5a8508ef8aaa1dd82f5dd0609d1860a | commit | diff |
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.
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 | diff | blob | history |