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
|
@ -1224,8 +1224,16 @@ static LPCSTR MENU_ParseResource( LPCSTR res, HMENU hMenu, BOOL unicode )
|
|||
}
|
||||
else /* Not a popup */
|
||||
{
|
||||
if (*str == 0)
|
||||
flags = MF_SEPARATOR;
|
||||
if(!unicode)
|
||||
{
|
||||
if (*str == 0)
|
||||
flags = MF_SEPARATOR;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (*(LPCWSTR)str == 0)
|
||||
flags = MF_SEPARATOR;
|
||||
}
|
||||
|
||||
if (flags & MF_SEPARATOR)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue