# HG changeset patch # User vayne # Date 1152377566 0 # Node ID 42d4e99a075eaba63a380f808190eef716846b95 # Parent b83cefcd7e41f23fcf50d4b2615cd2b91cf1dd66 small fix to properly display skins when switching skins during playback. diff -r b83cefcd7e41 -r 42d4e99a075e Gui/win32/dialogs.c --- a/Gui/win32/dialogs.c Sat Jul 08 16:51:11 2006 +0000 +++ b/Gui/win32/dialogs.c Sat Jul 08 16:52:46 2006 +0000 @@ -724,6 +724,7 @@ int len = SendMessage(listbox, LB_GETTEXTLEN, index, 0); if (len) { + if (guiIntfStruct.Playing) guiGetEvent(guiCEvent, (void *) guiSetStop); if (skinName) free(skinName); skinName = (char *) malloc(len+1); SendMessage(listbox, LB_GETTEXT, (WPARAM) index, (LPARAM) skinName);