diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-07-27 08:39:37 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-07-27 08:39:37 +0000 |
commit | 6071a68cf1829b79f88270d16cb534865529c92c (patch) | |
tree | 2db5c27c61fb1f5b88d6516d181c7b6a082b3942 /plugins/PluginUpdater/src/Events.cpp | |
parent | 7dfa4fde6c5111aa9a761fb6d535fcd904e91805 (diff) |
temporary rollback
git-svn-id: http://svn.miranda-ng.org/main/trunk@9964 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, 3 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp index 90ad62e3fb..816f92c603 100644 --- a/plugins/PluginUpdater/src/Events.cpp +++ b/plugins/PluginUpdater/src/Events.cpp @@ -48,10 +48,11 @@ int ModulesLoaded(WPARAM, LPARAM) else
EmptyFolder(0, TRUE); // silently
- CheckUpdateOnStartup();
+ if (AllowUpdateOnStartup())
+ DoCheck();
Timer = CreateWaitableTimer(NULL, FALSE, NULL);
- mir_forkthread(InitTimer, 0);
+ mir_forkthread(InitTimer, (void*)0);
return 0;
}
|