From ef1a349d88912a89a8dd20ca1dcb342b6dc9c2ff Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 27 May 2019 18:45:43 +0300 Subject: fixes #1963 (Remove Free for Chat, On the Phone and Out to Lunch statuses completely) --- plugins/Boltun/src/boltun.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/Boltun/src') diff --git a/plugins/Boltun/src/boltun.cpp b/plugins/Boltun/src/boltun.cpp index 9150f943bc..e50af48380 100644 --- a/plugins/Boltun/src/boltun.cpp +++ b/plugins/Boltun/src/boltun.cpp @@ -87,7 +87,7 @@ wchar_t* GetFullName(const wchar_t *filename) static bool LoadMind(const wchar_t* filename, int &line) { wchar_t* fullname = GetFullName(filename); - HCURSOR newCur = LoadCursor(nullptr, MAKEINTRESOURCE(IDC_WAIT)); + HCURSOR newCur = LoadCursorA(nullptr, MAKEINTRESOURCEA(IDC_WAIT)); HCURSOR oldCur = SetCursor(newCur); #ifdef DEBUG_LOAD_TIME unsigned __int64 t = __rdtsc(); @@ -177,9 +177,7 @@ static bool BoltunAutoChat(MCONTACT hContact) if (status == ID_STATUS_AWAY || status == ID_STATUS_DND || status == ID_STATUS_NA || - status == ID_STATUS_OCCUPIED || - status == ID_STATUS_ONTHEPHONE || - status == ID_STATUS_OUTTOLUNCH) + status == ID_STATUS_OCCUPIED) return true; } -- cgit v1.2.3