settings: fix columns generation without configuration file (ticket #3490)

This commit is contained in:
Andrzej Rybczak
2012-07-16 00:20:25 +02:00
parent 4475902eb9
commit 6126def6c5
3 changed files with 8 additions and 1 deletions

View File

@@ -1365,7 +1365,11 @@ void NcmpcppConfig::Read()
}
}
f.close();
}
void NcmpcppConfig::GenerateColumns()
{
columns.clear();
std::string width;
while (!(width = GetLineValue(song_list_columns_format, '(', ')', 1)).empty())
{