menu: fixed rcurrent iterators on empty menus

If m_items is empty, ++current() did result in an invalid iterator
(pointing behind end()).
This commit is contained in:
Lennart Braun
2016-10-17 22:15:49 +02:00
committed by Andrzej Rybczak
parent 1619712682
commit 14fb3baf63
2 changed files with 27 additions and 4 deletions

3
NEWS
View File

@@ -1,3 +1,6 @@
ncmpcpp-0.7.6 (????-??-??)
* Fixed assertion failure on trying to search backwards in an empty list.
ncmpcpp-0.7.5 (2016-08-17)
* Action chains can be now used for seeking.
* Fixed fetching artist info from last.fm.