summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authorvayne <vayne@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-08 16:52:46 +0000
committervayne <vayne@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-08 16:52:46 +0000
commit2670f98ab45e6e516a5afeade7ef7dfc641766ed (patch)
tree96a35c503efd4774a1b6b275a8571e4f0711b0b4 /Gui
parenta0b3f86c4d0c25cd6265f2820f35c0a088e5cc15 (diff)
downloadmpv-2670f98ab45e6e516a5afeade7ef7dfc641766ed.tar.bz2
mpv-2670f98ab45e6e516a5afeade7ef7dfc641766ed.tar.xz
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
Diffstat (limited to 'Gui')
-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);