chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Correctly bracket check for resuming with a pause-incapable standalone
[disorder]
/
server
/
play.c
diff --git
a/server/play.c
b/server/play.c
index 303090107e4cf400f17bc7f894355366b457c273..f9719912f7f0b62d4c7db982cb37c7710dce962d 100644
(file)
--- a/
server/play.c
+++ b/
server/play.c
@@
-763,7
+763,7
@@
void resume_playing(const char *who) {
if(!playing) return;
switch(playing->type & DISORDER_PLAYER_TYPEMASK) {
case DISORDER_PLAYER_STANDALONE:
- if(!
playing->type & DISORDER_PLAYER_PAUSES
) {
+ if(!
(playing->type & DISORDER_PLAYER_PAUSES)
) {
default:
/* Shouldn't happen */
return;