~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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
3030901
..
f971991
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;