From d5b388468fc201bae7e667bde306135900850a14 Mon Sep 17 00:00:00 2001 From: Michał Cichoń Date: Sat, 5 Dec 2015 15:50:28 +0100 Subject: Fix pause condition. --- src/ui_act.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui_act.c b/src/ui_act.c index c8a808f..54167f8 100644 --- a/src/ui_act.c +++ b/src/ui_act.c @@ -410,9 +410,9 @@ BarUiActCallback(BarUiActPause) { */ BarUiActCallback(BarUiActTogglePause) { if (BarPlayer2IsPlaying(app->player)) - BarPlayer2Play(app->player); - else BarPlayer2Pause(app->player); + else + BarPlayer2Play(app->player); } /* rename current station -- cgit v1.2.3