check for emptiness in some more places
commit2583487ffb3a4b235e8ef8f777372836a9a28682
authorAndrzej Rybczak <electricityispower@gmail.com>
Wed, 24 Mar 2010 23:51:56 +0000 (25 00:51 +0100)
committerAndrzej Rybczak <electricityispower@gmail.com>
Wed, 24 Mar 2010 23:51:56 +0000 (25 00:51 +0100)
tree2637e4c68f74dd7d12eb60b6c5fbf273196c5547
parent37c7acfd3c395026937154cc214d4488e5b75146
check for emptiness in some more places

these containers can be empty escpecially if one wants to go for a trip
around ncmpcpp screens while connection to mpd is lost. this is highly
unlikely to happen, but should be secured anyway.
src/browser.cpp
src/playlist.cpp
src/search_engine.cpp
src/tag_editor.cpp