diff options
author | Michał Cichoń <michcic@gmail.com> | 2015-12-05 15:50:28 +0100 |
---|---|---|
committer | Michał Cichoń <michcic@gmail.com> | 2015-12-05 15:50:28 +0100 |
commit | d5b388468fc201bae7e667bde306135900850a14 (patch) | |
tree | a351f6036f831b4b9da2e95019d52a901e076c22 /src | |
parent | fea03e59c2570baaaef6dfaf01cd3ee095402e1e (diff) | |
download | pianobar-windows-d5b388468fc201bae7e667bde306135900850a14.tar.gz pianobar-windows-d5b388468fc201bae7e667bde306135900850a14.tar.bz2 pianobar-windows-d5b388468fc201bae7e667bde306135900850a14.zip |
Fix pause condition.
Diffstat (limited to 'src')
-rw-r--r-- | src/ui_act.c | 4 |
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 |