Minor win32 fixes.
This commit is contained in:
parent
368d8cae39
commit
56bafdb0e2
|
@ -255,7 +255,7 @@ static
|
||||||
int
|
int
|
||||||
runMainInThread(void)
|
runMainInThread(void)
|
||||||
{
|
{
|
||||||
int result;
|
int result = 0;
|
||||||
CThread appThread(new CFunctionJob(&realMainEntry, &result));
|
CThread appThread(new CFunctionJob(&realMainEntry, &result));
|
||||||
try {
|
try {
|
||||||
#if WINDOWS_LIKE
|
#if WINDOWS_LIKE
|
||||||
|
|
|
@ -277,7 +277,7 @@ static
|
||||||
int
|
int
|
||||||
runMainInThread(void)
|
runMainInThread(void)
|
||||||
{
|
{
|
||||||
int result;
|
int result = 0;
|
||||||
CThread appThread(new CFunctionJob(&realMainEntry, &result));
|
CThread appThread(new CFunctionJob(&realMainEntry, &result));
|
||||||
try {
|
try {
|
||||||
#if WINDOWS_LIKE
|
#if WINDOWS_LIKE
|
||||||
|
|
|
@ -544,7 +544,6 @@ CMSWindowsPrimaryScreen::onPreDispatch(const CEvent* event)
|
||||||
}
|
}
|
||||||
|
|
||||||
// handle event
|
// handle event
|
||||||
const MSG* msg = &event->m_msg;
|
|
||||||
switch (msg->message) {
|
switch (msg->message) {
|
||||||
case SYNERGY_MSG_MARK:
|
case SYNERGY_MSG_MARK:
|
||||||
m_markReceived = msg->wParam;
|
m_markReceived = msg->wParam;
|
||||||
|
|
Loading…
Reference in New Issue