mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-10 05:36:22 +08:00
Minor win32 fixes.
This commit is contained in:
@@ -255,7 +255,7 @@ static
|
||||
int
|
||||
runMainInThread(void)
|
||||
{
|
||||
int result;
|
||||
int result = 0;
|
||||
CThread appThread(new CFunctionJob(&realMainEntry, &result));
|
||||
try {
|
||||
#if WINDOWS_LIKE
|
||||
|
||||
@@ -277,7 +277,7 @@ static
|
||||
int
|
||||
runMainInThread(void)
|
||||
{
|
||||
int result;
|
||||
int result = 0;
|
||||
CThread appThread(new CFunctionJob(&realMainEntry, &result));
|
||||
try {
|
||||
#if WINDOWS_LIKE
|
||||
|
||||
@@ -544,7 +544,6 @@ CMSWindowsPrimaryScreen::onPreDispatch(const CEvent* event)
|
||||
}
|
||||
|
||||
// handle event
|
||||
const MSG* msg = &event->m_msg;
|
||||
switch (msg->message) {
|
||||
case SYNERGY_MSG_MARK:
|
||||
m_markReceived = msg->wParam;
|
||||
|
||||
Reference in New Issue
Block a user