do not try to read keyconfig file if it's NOT open.
This commit is contained in:
1 parent
a87afda4b7
commit
55c75355f8
1 file changed
+1
-1
+1
-1
@@ -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