summaryrefslogtreecommitdiff
path: root/plugins/LotusNotify/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-27 11:50:07 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-27 11:50:07 +0000
commitddd1af0fdf37364c9472faedad941b4cc5f1b465 (patch)
treed4eb46f481a47b6e16e40b39860e830e40f9dbcf /plugins/LotusNotify/src
parentcc3be4384048697fe9b7716c11b7bd726b9ca650 (diff)
<tchar.h> removed from <m_system.h>
git-svn-id: http://svn.miranda-ng.org/main/trunk@17136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/LotusNotify/src')
-rw-r--r--plugins/LotusNotify/src/LotusNotify.cpp6
1 files changed, 3 insertions, 3 deletions
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