1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-01 03:36:26 -04:00

Reduce code redundancy.

This commit is contained in:
Laurent MONIN 2005-12-08 16:26:37 +01:00 committed by Laurent MONIN
parent 1f7aa841aa
commit 3719e75068

View File

@ -412,10 +412,9 @@ abort:
}
if (!strlcasecmp(name, namelen, "OPTION", 6)) {
if (closing_tag) {
add_select_item(&lnk_menu, &lbl, &orig_lbl, values, order, nnmi);
goto see;
} else {
add_select_item(&lnk_menu, &lbl, &orig_lbl, values, order, nnmi);
if (!closing_tag) {
unsigned char *value, *label;
add_select_item(&lnk_menu, &lbl, &orig_lbl, values, order, nnmi);
@ -438,8 +437,9 @@ abort:
init_string(&orig_lbl);
nnmi = !!label;
}
goto see;
}
goto see;
}
if (!strlcasecmp(name, namelen, "OPTGROUP", 8)) {