Fixed synergy quiting when powerdvd stops playing a DVD. This may

fix some other bugs that involve unexpectedly quiting.  The problem
was that synergy would (cleanly) quit when receiving an event with
a message id of 0 when not running as a service.
This commit is contained in:
crs 2004-11-01 18:26:29 +00:00
parent 18dda312d2
commit 169c1e5008
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ CMSWindowsEventQueueBuffer::getEvent(CEvent& event, UInt32& dataID)
event = CEvent(CEvent::kQuit); event = CEvent(CEvent::kQuit);
return kSystem; return kSystem;
} }
else if (m_event.message == m_daemonQuit) { else if (m_daemonQuit != 0 && m_event.message == m_daemonQuit) {
event = CEvent(CEvent::kQuit); event = CEvent(CEvent::kQuit);
return kSystem; return kSystem;
} }