Code

status_bar: initialize the "buffer" variable with --enable-mini
authorMax Kellermann <max@duempel.org>
Fri, 2 Oct 2009 05:36:56 +0000 (07:36 +0200)
committerMax Kellermann <max@duempel.org>
Fri, 2 Oct 2009 05:36:56 +0000 (07:36 +0200)
Move one #endif.

src/status_bar.c

index 5aaf04bc6d3c2463e852ab241cf50123010684c3..b778bc032e2af97b5198bf394611e76200e3b404 100644 (file)
@@ -150,8 +150,8 @@ status_bar_paint(const struct status_bar *p, const struct mpd_status *status,
                        time(&timep);
                        strftime(buffer, sizeof(buffer), "%X ",localtime(&timep));
                } else
-                       buffer[0] = 0;
 #endif
+                       buffer[0] = 0;
        }
 
        /* display song */