list_window: fixed endless loop in non-wrapped search
commitf7d53b74a7743e120f9f1019c594cbd2de708caf
authorMax Kellermann <max@duempel.org>
Thu, 27 Nov 2008 15:58:14 +0000 (27 16:58 +0100)
committerMax Kellermann <max@duempel.org>
Thu, 27 Nov 2008 15:58:14 +0000 (27 16:58 +0100)
tree3d9e4bc520cd09d5a14a0196f0bea6370d003439
parent00b15acd11ec809446e2b3962ff41dec1336cf08
list_window: fixed endless loop in non-wrapped search

When the cursor was at the end of a list and the user pressed 'n',
ncmpc would hang in an endless loop forever.  The same bug was fixed
in the backwards search.
src/list_window.c