|
@@ -139,7 +139,7 @@ struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *e
|
|
while (isspace(*prompt))
|
|
while (isspace(*prompt))
|
|
prompt++;
|
|
prompt++;
|
|
}
|
|
}
|
|
- if (current_entry->prompt)
|
|
|
|
|
|
+ if (current_entry->prompt && current_entry != &rootmenu)
|
|
prop_warn(prop, "prompt redefined");
|
|
prop_warn(prop, "prompt redefined");
|
|
current_entry->prompt = prop;
|
|
current_entry->prompt = prop;
|
|
}
|
|
}
|