Code

browse: ensure that filelist!=NULL
authorMax Kellermann <max@duempel.org>
Sun, 21 Sep 2008 20:45:08 +0000 (22:45 +0200)
committerMax Kellermann <max@duempel.org>
Sun, 21 Sep 2008 20:45:08 +0000 (22:45 +0200)
commit063648606de65ce668c3357ec7b08792ae055219
tree4d6804cd6d2379b5d651561049469dee741d649a
parentba91edfee95a6198e2db9804fee9ddfeffa8a199
browse: ensure that filelist!=NULL

There are several places where browser.filelist can become NULL.
Catch that everywhere and generate an empty filelist in this case.
src/screen_artist.c
src/screen_search.c