mirror of
https://github.com/LegacyUpdate/LegacyUpdate.git
synced 2025-01-22 14:12:07 -05:00
Oops
This commit is contained in:
parent
8d1c727da6
commit
9494e9b8c1
1 changed files with 3 additions and 2 deletions
|
@ -454,9 +454,10 @@ STDMETHODIMP CLegacyUpdateCtrl::ViewWindowsUpdateLog(void) {
|
|||
STDMETHODIMP CLegacyUpdateCtrl::OpenWindowsUpdateSettings(void) {
|
||||
DoIsPermittedCheck();
|
||||
|
||||
hr = GetInstallPath(&path);
|
||||
LPWSTR path;
|
||||
HRESULT hr = GetInstallPath(&path);
|
||||
if (!SUCCEEDED(hr)) {
|
||||
goto end;
|
||||
return hr;
|
||||
}
|
||||
|
||||
PathAppend(path, L"LegacyUpdate.exe");
|
||||
|
|
Loading…
Reference in a new issue