1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

css_apply_list_style: fix compiler warning

Add a case for CSS_LIST_ORDINAL (and assert(0)) to the switch in
css_apply_list_style.  This change should eliminate a warning from the
compiler reported by Witold that CSS_LIST_ORDINAL is not handled.
This commit is contained in:
Miciah Dashiel Butler Masters 2011-11-16 16:58:08 +00:00
parent e37caa01ec
commit 416d7fac7d

View File

@ -124,6 +124,7 @@ css_apply_list_style(struct html_context *html_context,
case CSS_LIST_KATAKANA: element->parattr.flags = P_NUMBER; break;
case CSS_LIST_HIRAGANA_IROHA: element->parattr.flags = P_NUMBER; break;
case CSS_LIST_KATAKANA_IROHA: element->parattr.flags = P_NUMBER; break;
case CSS_LIST_ORDINAL: assert(0); break;
}
}