summaryrefslogtreecommitdiff
path: root/src/ui_act.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui_act.c')
-rw-r--r--src/ui_act.c4
1 files 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