Code

status_bar: remove the status bar clock (option "display-time")
[ncmpc.git] / src / status_bar.c
index ef25707ad202e020912294e3163d9bcd9042fff1..74f91de3a67a75baa121960e8f928484c9934714 100644 (file)
@@ -178,15 +178,7 @@ status_bar_paint(struct status_bar *p, const struct mpd_status *status,
 #endif
                }
        } else {
-#ifndef NCMPC_MINI
-               if (options.display_time) {
-                       time_t timep;
-
-                       time(&timep);
-                       strftime(buffer, sizeof(buffer), "%X ",localtime(&timep));
-               } else
-#endif
-                       buffer[0] = 0;
+               buffer[0] = 0;
        }
 
        /* display song */