Code

screen_help: Fixed an endless-loop-bug.
authorPatrick Hallen <patrick.hallen@rwth-aachen.de>
Sat, 28 Mar 2009 19:39:54 +0000 (20:39 +0100)
committerPatrick Hallen <patrick.hallen@rwth-aachen.de>
Sat, 28 Mar 2009 19:39:54 +0000 (20:39 +0100)
commit2d331e99c167a0ac4fbce83f7abfb52d41770806
tree32316a967cb2a4962a49aab14fb6f52faa9b6b75
parentecb093f215f8f5f99f09100b1aa400f0b44d86b2
screen_help: Fixed an endless-loop-bug.

The cursor of the help screen was placed outside the list_window, so the
list_window_find() went into an endless loop, when wrap was enabled. Now the
cursor is placed on the first item of the list_window, so the find function
should work.
src/screen_help.c