commit | 9316fa3db39e5a19a5a5d3c4601c43a546070b70 | [log] [tgz] |
---|---|---|
author | Dmitry Timoshkov <dmitry@codeweavers.com> | Wed Feb 14 00:23:45 2001 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed Feb 14 00:23:45 2001 +0000 |
tree | 97e31361d62554d9853c89dc79b9aafa464aa676 | |
parent | 0dae89937f75c85f208dbcf53233e259688dcb38 [diff] [blame] |
Convert menu item to seperator only when string is NULL.
diff --git a/controls/menu.c b/controls/menu.c index 0b89690..35479eb 100644 --- a/controls/menu.c +++ b/controls/menu.c
@@ -1855,7 +1855,7 @@ if (IS_STRING_ITEM(flags)) { - if (!str || !*str) + if (!str) { flags |= MF_SEPARATOR; item->text = NULL;