mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:43:12 +00:00
parent
a72dd3434c
commit
a6c89f30fa
1 changed files with 10 additions and 2 deletions
|
@ -1224,8 +1224,16 @@ static LPCSTR MENU_ParseResource( LPCSTR res, HMENU hMenu, BOOL unicode )
|
||||||
}
|
}
|
||||||
else /* Not a popup */
|
else /* Not a popup */
|
||||||
{
|
{
|
||||||
if (*str == 0)
|
if(!unicode)
|
||||||
flags = MF_SEPARATOR;
|
{
|
||||||
|
if (*str == 0)
|
||||||
|
flags = MF_SEPARATOR;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (*(LPCWSTR)str == 0)
|
||||||
|
flags = MF_SEPARATOR;
|
||||||
|
}
|
||||||
|
|
||||||
if (flags & MF_SEPARATOR)
|
if (flags & MF_SEPARATOR)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue