summaryrefslogtreecommitdiffstats
path: root/Gui/win32/dialogs.c
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/win32/dialogs.c')
-rw-r--r--Gui/win32/dialogs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gui/win32/dialogs.c b/Gui/win32/dialogs.c
index 815aab0cc1..1ff04f3e4e 100644
--- a/Gui/win32/dialogs.c
+++ b/Gui/win32/dialogs.c
@@ -724,6 +724,7 @@ static LRESULT CALLBACK SkinBrowserWndProc(HWND hwnd, UINT iMsg, WPARAM wParam,
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);