Commit 9316fa3d authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Convert menu item to seperator only when string is NULL.

parent 0dae8993
......@@ -1855,7 +1855,7 @@ static BOOL MENU_SetItemData( MENUITEM *item, UINT flags, UINT id,
if (IS_STRING_ITEM(flags))
{
if (!str || !*str)
if (!str)
{
flags |= MF_SEPARATOR;
item->text = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment