From fa0c624cb29e204660c6af528c586984c092c2f2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 13 Jul 2012 16:38:56 +0000 Subject: bunch of incorrect thread calls git-svn-id: http://svn.miranda-ng.org/main/trunk@950 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/generic_msghandlers.cpp | 4 ++-- plugins/TabSRMM/src/trayicon.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/TabSRMM/src') diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp index 7462c68890..ce104c6c11 100644 --- a/plugins/TabSRMM/src/generic_msghandlers.cpp +++ b/plugins/TabSRMM/src/generic_msghandlers.cpp @@ -1167,7 +1167,7 @@ LRESULT TSAPI DM_LoadLocale(TWindowData *dat) GetLocaleID(dat, dbv.ptszVal); PostMessage(dat->hwnd, DM_SETLOCALE, 0, 0);*/ DBFreeVariant(&dbv); - CloseHandle((HANDLE)mir_forkthreadex(LoadKLThread, reinterpret_cast(dat->hContact), 16000, NULL)); + CloseHandle((HANDLE)mir_forkthreadex(LoadKLThread, dat->hContact, NULL)); } else { if (!PluginConfig.m_dontUseDefaultKbd) { TCHAR szBuf[20]; @@ -1183,7 +1183,7 @@ LRESULT TSAPI DM_LoadLocale(TWindowData *dat) /*dat->hkl = LoadKeyboardLayout(szKLName, KLF_NOTELLSHELL | KLF_REPLACELANG); GetLocaleID(dat, szKLName); PostMessage(dat->hwnd, DM_SETLOCALE, 0, 0);*/ - CloseHandle((HANDLE)mir_forkthreadex(LoadKLThread, reinterpret_cast(dat->hContact), 16000, NULL)); + CloseHandle((HANDLE)mir_forkthreadex(LoadKLThread, reinterpret_cast(dat->hContact), NULL)); } } } diff --git a/plugins/TabSRMM/src/trayicon.cpp b/plugins/TabSRMM/src/trayicon.cpp index 51affe1520..c9c3471f2a 100644 --- a/plugins/TabSRMM/src/trayicon.cpp +++ b/plugins/TabSRMM/src/trayicon.cpp @@ -107,7 +107,7 @@ void TSAPI CreateTrayMenus(int mode) mir_sntprintf(g_eventName, 100, _T("tsr_evt_%d"), GetCurrentThreadId()); g_hEvent = CreateEvent(NULL, FALSE, FALSE, g_eventName); isAnimThreadRunning = TRUE; - hTrayAnimThread = (HANDLE)mir_forkthreadex(TrayAnimThread, NULL, 16000, NULL); + hTrayAnimThread = (HANDLE)mir_forkthreadex(TrayAnimThread, NULL, NULL); PluginConfig.g_hMenuTrayUnread = CreatePopupMenu(); PluginConfig.g_hMenuFavorites = CreatePopupMenu(); -- cgit v1.2.3