Code

m4/ax_check*: update to serial 3
[ncmpc.git] / src / screen_search.c
index 0d39ddb151e76c6b7b7a32fd8b520d8bef778ac7..deab64ab05ba96bc5ea35e181834724f646fd2a9 100644 (file)
@@ -352,6 +352,11 @@ static void
 screen_search_init(WINDOW *w, int cols, int rows)
 {
        browser.lw = list_window_init(w, cols, rows);
+       if (options.search_format != NULL) {
+               browser.song_format = options.search_format;
+       } else {
+               browser.song_format = options.list_format;
+       }
        list_window_set_length(browser.lw, G_N_ELEMENTS(help_text));
 }