From: Olivier Teulière Date: Tue, 28 Oct 2003 07:17:45 +0000 (+0000) Subject: Fix for a synchronization problem when a checkbox has 2 identical events X-Git-Tag: 0.7.0~693 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=553eb3fdefa40ae13b2d7751045f6377146e12ba;p=vlc Fix for a synchronization problem when a checkbox has 2 identical events --- diff --git a/modules/gui/skins/win32/win32_event.cpp b/modules/gui/skins/win32/win32_event.cpp index a1c200b281..4b29277568 100644 --- a/modules/gui/skins/win32/win32_event.cpp +++ b/modules/gui/skins/win32/win32_event.cpp @@ -2,7 +2,7 @@ * win32_event.cpp: Win32 implementation of the Event class ***************************************************************************** * Copyright (C) 2003 VideoLAN - * $Id: win32_event.cpp,v 1.5 2003/04/21 21:51:16 asmax Exp $ + * $Id: win32_event.cpp,v 1.6 2003/10/28 07:17:45 ipkiss Exp $ * * Authors: Olivier Teulière * Emmanuel Puig @@ -72,7 +72,10 @@ bool Win32Event::SendEvent() if( Message != VLC_NOTHING ) { PostMessage( hWnd, Message, Param1, Param2 ); - PostSynchroMessage(); + if( hWnd ) + { + PostSynchroMessage(); + } return true; }