aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlayerControl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PlayerControl.cxx')
-rw-r--r--src/PlayerControl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlayerControl.cxx b/src/PlayerControl.cxx
index 73230858f..857322c50 100644
--- a/src/PlayerControl.cxx
+++ b/src/PlayerControl.cxx
@@ -76,7 +76,7 @@ static void
player_command_wait_locked(struct player_control *pc)
{
while (pc->command != PLAYER_COMMAND_NONE)
- g_cond_wait(main_cond, pc->mutex);
+ g_cond_wait(pc->cond, pc->mutex);
}
static void