# HG changeset patch # User vayne # Date 1152377471 0 # Node ID b83cefcd7e41f23fcf50d4b2615cd2b91cf1dd66 # Parent 68560e9f3d6f40918daa0a8f854187c342f87959 crash fix when clicking on volume sliders when in stop state. diff -r 68560e9f3d6f -r b83cefcd7e41 Gui/win32/interface.c --- a/Gui/win32/interface.c Sat Jul 08 16:48:41 2006 +0000 +++ b/Gui/win32/interface.c Sat Jul 08 16:51:11 2006 +0000 @@ -239,6 +239,9 @@ { float l,r; + if (guiIntfStruct.Playing == 0) + break; + if (guiIntfStruct.Balance == 50.0f) mixer_setvolume(&mixer, guiIntfStruct.Volume, guiIntfStruct.Volume);