From ddd1af0fdf37364c9472faedad941b4cc5f1b465 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Jul 2016 11:50:07 +0000 Subject: removed from git-svn-id: http://svn.miranda-ng.org/main/trunk@17136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/LotusNotify/src/LotusNotify.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/LotusNotify/src/LotusNotify.cpp') diff --git a/plugins/LotusNotify/src/LotusNotify.cpp b/plugins/LotusNotify/src/LotusNotify.cpp index 062961e373..96aa582cf6 100644 --- a/plugins/LotusNotify/src/LotusNotify.cpp +++ b/plugins/LotusNotify/src/LotusNotify.cpp @@ -1558,7 +1558,7 @@ INT_PTR SetStatus(WPARAM wParam, LPARAM lParam) // the status has been changed to unknown (maybe run some more code) } //broadcast the message - if (currentStatus != wParam) + if (currentStatus != (int)wParam) ProtoBroadcastAck(PLUGINNAME, NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)currentStatus, wParam); currentStatus = wParam; @@ -1571,14 +1571,14 @@ void checkEnvPath(wchar_t *path) log_p(L"checkEnvPath: [%s]", path); wcslwr(path); - wchar_t *cur = _tgetenv(L"PATH"); + wchar_t *cur = _wgetenv(L"PATH"); wcslwr(cur); wchar_t *found = wcsstr(cur, path); size_t len = mir_tstrlen(path); if (found != NULL && (found[len] == ';' || found[len] == 0 || (found[len] == '\\' && (found[len + 1] == ';' || found[len + 1] == 0)))) return; - _tputenv(CMString(FORMAT, L"PATH=%s;%s;", cur, path)); + _wputenv(CMString(FORMAT, L"PATH=%s;%s;", cur, path)); } //GetStatus -- cgit v1.2.3