From 3641d48cb887cf7267a6e138c1b2827510d2df5d Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:03:12 +0000 Subject: Utilisateur : Fcolin Date : 9/10/01 Heure : 12:12 Archivé dans $/Ivy Commentaire: on poste un message synchro si la file est vide (vss 7) --- Bus/Ivy/IvySynchroWnd.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bus/Ivy') diff --git a/Bus/Ivy/IvySynchroWnd.cxx b/Bus/Ivy/IvySynchroWnd.cxx index 33059d8..e2b2338 100644 --- a/Bus/Ivy/IvySynchroWnd.cxx +++ b/Bus/Ivy/IvySynchroWnd.cxx @@ -103,7 +103,7 @@ LRESULT IvySynchroWnd::OnIvyCB(WPARAM wParam, LPARAM lParam) void IvySynchroWnd::PostIvyCB( IvySynchronousCallback *cb ) { EnterCriticalSection( &m_CritSection ); - if ( !m_synchro->callbacklist.empty() ) + if ( m_synchro->callbacklist.empty() ) ASSERT(PostMessage(m_synchro->m_hWnd, WM_IVY_CB, 0, 0 )); m_synchro->callbacklist.push_back( cb ); LeaveCriticalSection( &m_CritSection ); -- cgit v1.1