mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
CORE-18394
This commit is contained in:
parent
31a33c5fcb
commit
337cbf5888
1 changed files with 6 additions and 2 deletions
|
@ -103,8 +103,12 @@ HRESULT CBandSiteMenu::_CreateMenuPart()
|
|||
hr = SHLoadRegUIStringW(hKey, L"MenuTextPUI", wszBandName, _countof(wszBandName));
|
||||
if (FAILED_UNEXPECTEDLY(hr))
|
||||
{
|
||||
hr = SHLoadRegUIStringW(hKey, NULL, wszBandName, _countof(wszBandName));
|
||||
FAILED_UNEXPECTEDLY(hr);
|
||||
hr = SHLoadRegUIStringW(hKey, L"MenuText", wszBandName, _countof(wszBandName));
|
||||
if (FAILED_UNEXPECTEDLY(hr))
|
||||
{
|
||||
hr = SHLoadRegUIStringW(hKey, NULL, wszBandName, _countof(wszBandName));
|
||||
FAILED_UNEXPECTEDLY(hr);
|
||||
}
|
||||
}
|
||||
RegCloseKey(hKey);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue