correct own fix for #28751

This commit is contained in:
2011-09-28 02:02:57 +00:00
parent ac166d5eb6
commit 2bc2752374

View File

@@ -174,7 +174,7 @@ static MenuData *decompose_menu_string(const char *str)
*s= '\0';
s++;
} else if (s[1]=='t') {
nitem_is_title= (s[2] != '|'); /* check for empty title */
nitem_is_title= (s != instr); /* check for empty title */
*s= '\0';
s++;