fix NcmpcppKeys::NullKey
-1 is ERR, which causes some trouble, e.g. if someone presses Delete while being in playlist.
This commit is contained in:
@@ -52,7 +52,7 @@ struct Column
|
|||||||
|
|
||||||
struct NcmpcppKeys
|
struct NcmpcppKeys
|
||||||
{
|
{
|
||||||
static const int NullKey = -1;
|
static const int NullKey = 0;
|
||||||
|
|
||||||
void SetDefaults();
|
void SetDefaults();
|
||||||
void Read();
|
void Read();
|
||||||
|
|||||||
Reference in New Issue
Block a user