diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-29 06:47:37 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-29 06:47:37 +0000 |
commit | 4a38e2b5de9f41f8bb3fa74457f98b2b69b9d56c (patch) | |
tree | 16f6eb44c346276721a92d257a7f9fc3779e1d5e /plugins/PackUpdater/Src | |
parent | 55d1905cffff485f577d49654a18362cbcfb61ec (diff) |
added ability to restart with current profile
git-svn-id: http://svn.miranda-ng.org/main/trunk@3328 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PackUpdater/Src')
-rw-r--r-- | plugins/PackUpdater/Src/Utils.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/PackUpdater/Src/Utils.cpp b/plugins/PackUpdater/Src/Utils.cpp index fef2ebb9f1..2e7f8ba142 100644 --- a/plugins/PackUpdater/Src/Utils.cpp +++ b/plugins/PackUpdater/Src/Utils.cpp @@ -159,8 +159,7 @@ VOID __stdcall ExitMe(void*) VOID __stdcall RestartMe(void*)
{
- CallService("CloseAction", 0, 0);
- CallService(MS_SYSTEM_RESTART, 0, 0);
+ CallService(MS_SYSTEM_RESTART, 1, 0);
}
BOOL Exists(LPCTSTR strName)
|