# HG changeset patch # User William Pitcock # Date 1184619159 18000 # Node ID 29d3abbbe0a22d56a2766e0160b19b884d646125 # Parent f40b8491a812b04fb8ff6d38039861a67d6a2c57 Use playback_get_playing() for while loop. diff -r f40b8491a812 -r 29d3abbbe0a2 src/audacious/playback.c --- a/src/audacious/playback.c Mon Jul 16 15:50:32 2007 -0500 +++ b/src/audacious/playback.c Mon Jul 16 15:52:39 2007 -0500 @@ -232,7 +232,7 @@ hook_call("playback begin", playback->entry); - while (ip_data.playing == TRUE && playback->eof == FALSE && playback->playing == TRUE) + while (playback_get_playing()) { GTimeVal tmwait; g_get_current_time(&tmwait);