From 274324aab47c51d6c07ace5e219d196077c3e5d1 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 18 Apr 2014 19:57:12 +0200 Subject: player: Fix state-machine Song timer was shown without song playing. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index eeb4279..2e9203c 100644 --- a/src/main.c +++ b/src/main.c @@ -388,7 +388,7 @@ static void BarMainLoop (BarApp_t *app) { BarMainHandleUserInput (app); /* show time */ - if (app->player.mode < PLAYER_FINISHED) { + if (app->player.mode == PLAYER_PLAYING) { BarMainPrintTime (app); } } -- cgit v1.2.3