mirror of
https://github.com/reactos/reactos.git
synced 2025-05-23 19:14:48 +00:00
parent
a72dd3434c
commit
a6c89f30fa
1 changed files with 10 additions and 2 deletions
|
@ -1223,9 +1223,17 @@ static LPCSTR MENU_ParseResource( LPCSTR res, HMENU hMenu, BOOL unicode )
|
||||||
AppendMenuW(hMenu, flags, (UINT)hSubMenu, (LPCWSTR)str);
|
AppendMenuW(hMenu, flags, (UINT)hSubMenu, (LPCWSTR)str);
|
||||||
}
|
}
|
||||||
else /* Not a popup */
|
else /* Not a popup */
|
||||||
|
{
|
||||||
|
if(!unicode)
|
||||||
{
|
{
|
||||||
if (*str == 0)
|
if (*str == 0)
|
||||||
flags = MF_SEPARATOR;
|
flags = MF_SEPARATOR;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (*(LPCWSTR)str == 0)
|
||||||
|
flags = MF_SEPARATOR;
|
||||||
|
}
|
||||||
|
|
||||||
if (flags & MF_SEPARATOR)
|
if (flags & MF_SEPARATOR)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue