diff options
Diffstat (limited to 'onlineupdate')
-rw-r--r-- | onlineupdate/source/update/updater/progressui_win.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/onlineupdate/source/update/updater/progressui_win.cxx b/onlineupdate/source/update/updater/progressui_win.cxx index 3cbbc6b9891d..49ae81e68d07 100644 --- a/onlineupdate/source/update/updater/progressui_win.cxx +++ b/onlineupdate/source/update/updater/progressui_win.cxx @@ -284,8 +284,7 @@ ShowProgressUI(bool indeterminate, bool initUIStrings) actx.lpSource = appPath; actx.lpResourceName = MAKEINTRESOURCE(IDR_COMCTL32_MANIFEST); - HANDLE hactx = INVALID_HANDLE_VALUE; - hactx = CreateActCtxW(&actx); + HANDLE hactx = CreateActCtxW(&actx); ULONG_PTR actxCookie = NULL; if (hactx != INVALID_HANDLE_VALUE) { // Push the specified activation context to the top of the activation stack. |