From 2670f98ab45e6e516a5afeade7ef7dfc641766ed Mon Sep 17 00:00:00 2001 From: vayne Date: Sat, 8 Jul 2006 16:52:46 +0000 Subject: small fix to properly display skins when switching skins during playback. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18959 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/win32/dialogs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Gui') 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); -- cgit v1.2.3