$OpenBSD: patch-src_settings_cpp,v 1.3 2012/08/08 12:32:10 dcoppa Exp $

Fix columns generation without configuration file (the text of the
playlist disappeared in columns display mode when there is no config
file)
(upstream git commit 6126def6c5b339c7f43d99c47501dde21d4943b3)

--- src/settings.cpp.orig	Sun Apr  1 18:49:09 2012
+++ src/settings.cpp	Wed Aug  8 13:41:05 2012
@@ -1330,7 +1330,11 @@ void NcmpcppConfig::Read()
 		}
 	}
 	f.close();
-	
+}
+
+void NcmpcppConfig::GenerateColumns()
+{
+	columns.clear();
 	std::string width;
 	while (!(width = GetLineValue(song_list_columns_format, '(', ')', 1)).empty())
 	{
