chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c6a70f3
)
Correctly bracket check for resuming with a pause-incapable standalone
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 2 May 2009 10:14:34 +0000
(11:14 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 2 May 2009 10:14:34 +0000
(11:14 +0100)
player (which shouldn't happen in the first place, so the bug as it
was was actually pretty harmless).
server/play.c
patch
|
blob
|
blame
|
history
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;