mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[SHELLFIND] Use IS_INTRESOURCE()
This commit is contained in:
parent
e9bd402713
commit
9b75b67e9d
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ static void WINAPI _InsertMenuItemW(
|
|||
else if (fType == MFT_STRING)
|
||||
{
|
||||
mii.fMask = MIIM_ID | MIIM_TYPE | MIIM_STATE;
|
||||
if ((ULONG_PTR)HIWORD((ULONG_PTR)dwTypeData) == 0)
|
||||
if (IS_INTRESOURCE(dwTypeData))
|
||||
{
|
||||
if (LoadStringW(_AtlBaseModule.GetResourceInstance(), LOWORD((ULONG_PTR)dwTypeData), wszText, _countof(wszText)))
|
||||
mii.dwTypeData = wszText;
|
||||
|
|
Loading…
Reference in a new issue