changeset 18954:42d4e99a075e

small fix to properly display skins when switching skins during playback.
author vayne
date Sat, 08 Jul 2006 16:52:46 +0000
parents b83cefcd7e41
children 1acb0274753b
files Gui/win32/dialogs.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);