diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-07-27 09:48:19 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-07-27 09:48:19 +0000 |
commit | 7197141db82f7519ed707962a03f265f576516af (patch) | |
tree | e9dc4b7e51ae3232a781da9e7a86ca83279d2859 /plugins/PluginUpdater/src/Events.cpp | |
parent | c4a90717ac0b7813d24d30920f1fccab0e638162 (diff) |
restoring Wishmaster's PluginUpdater commits
git-svn-id: http://svn.miranda-ng.org/main/trunk@9968 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Events.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Events.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp index 816f92c603..90ad62e3fb 100644 --- a/plugins/PluginUpdater/src/Events.cpp +++ b/plugins/PluginUpdater/src/Events.cpp @@ -48,11 +48,10 @@ int ModulesLoaded(WPARAM, LPARAM) else
EmptyFolder(0, TRUE); // silently
- if (AllowUpdateOnStartup())
- DoCheck();
+ CheckUpdateOnStartup();
Timer = CreateWaitableTimer(NULL, FALSE, NULL);
- mir_forkthread(InitTimer, (void*)0);
+ mir_forkthread(InitTimer, 0);
return 0;
}
|