summaryrefslogtreecommitdiff
path: root/plugins/Weather/src/weather_update.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2016-03-24 23:32:20 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2016-03-24 23:32:20 +0000
commit79412831126e49d990a44506af1ae69f78797d6c (patch)
tree9b08aab70ee1be9fc36adb51cf4d3f4337991383 /plugins/Weather/src/weather_update.cpp
parent2e7f9dcf085ba41ab37bd3234c5fd27781896114 (diff)
Weather: - minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@16539 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src/weather_update.cpp')
-rw-r--r--plugins/Weather/src/weather_update.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Weather/src/weather_update.cpp b/plugins/Weather/src/weather_update.cpp
index a01a2d19fe..b2d2928896 100644
--- a/plugins/Weather/src/weather_update.cpp
+++ b/plugins/Weather/src/weather_update.cpp
@@ -594,6 +594,7 @@ void CALLBACK timerProc(HWND, UINT, UINT_PTR, DWORD)
UpdateAll(TRUE, FALSE);
}
+
// temporary timer for first run
// when this is run, it kill the old startup timer and create the permenant one above
void CALLBACK timerProc2(HWND, UINT, UINT_PTR, DWORD)
@@ -606,5 +607,5 @@ void CALLBACK timerProc2(HWND, UINT, UINT_PTR, DWORD)
if (opt.StartupUpdate && opt.NoProtoCondition)
UpdateAll(FALSE, FALSE);
- timerId = SetTimer(NULL, 0, ((int)opt.UpdateTime) * 60000, (TIMERPROC)timerProc);
+ timerId = SetTimer(NULL, 0, ((int)opt.UpdateTime) * 60000, timerProc);
}