summaryrefslogtreecommitdiff
path: root/plugins/Weather/src/weather_svcs.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-02-05 20:41:03 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-02-05 20:41:03 +0000
commite9b379bc27f64fc5d31fd894c95a1da5a18f1795 (patch)
treecc530448e2c29f256c45549d27e8fd3ea2adf4ad /plugins/Weather/src/weather_svcs.cpp
parent96d3720a8b42bdd4e2595b57a725930289dc791f (diff)
Weather: Minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12012 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src/weather_svcs.cpp')
-rw-r--r--plugins/Weather/src/weather_svcs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Weather/src/weather_svcs.cpp b/plugins/Weather/src/weather_svcs.cpp
index d654aa3b60..b485257601 100644
--- a/plugins/Weather/src/weather_svcs.cpp
+++ b/plugins/Weather/src/weather_svcs.cpp
@@ -115,7 +115,7 @@ static void __cdecl AckThreadProc(HANDLE param)
// nothing to do here because weather proto do not need to retrieve contact info form network
// so just return a 0
-INT_PTR WeatherGetInfo(WPARAM wParam,LPARAM lParam)
+INT_PTR WeatherGetInfo(WPARAM,LPARAM lParam)
{
CCSDATA *ccs = (CCSDATA *) lParam;
mir_forkthread(AckThreadProc, (void*)ccs->hContact);
@@ -133,7 +133,7 @@ INT_PTR WeatherGetAvatarInfo(WPARAM wParam, LPARAM lParam)
unsigned i;
PROTO_AVATAR_INFORMATIONT* ai = ( PROTO_AVATAR_INFORMATIONT* )lParam;
- GetModuleFileName(GetModuleHandle(NULL), szSearchPath, sizeof(szSearchPath));
+ GetModuleFileName(GetModuleHandle(NULL), szSearchPath, SIZEOF(szSearchPath));
chop = _tcsrchr(szSearchPath, '\\');
if (chop) *chop = '\0';