do not try to read keyconfig file if it's NOT open.
This commit is contained in:
@@ -352,7 +352,7 @@ void ReadKeys(ncmpcpp_keys &keys)
|
||||
ifstream f(keys_config_file.c_str());
|
||||
string key;
|
||||
|
||||
if (f.is_open())
|
||||
if (!f.is_open())
|
||||
return;
|
||||
|
||||
while (!f.eof())
|
||||
|
||||
Reference in New Issue
Block a user