Avoid enum trailing commas

Based on patch from Jonathan Kew.
This commit is contained in:
Behdad Esfahbod committed 2012-01-16 16:39:40 -05:00
1 parent 3d0ddd1280
commit e8eedf2687
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -61,7 +61,7 @@ enum indic_position_t {
POS_BASE,
POS_ABOVE,
POS_BELOW,
POS_POST,
POS_POST
};
/* Categories used in IndicSyllabicCategory.txt from UCD */
@@ -321,7 +321,7 @@ enum {
HALF,
_VATU,
PSTF,
CJCT,
CJCT
};
static const hb_tag_t indic_other_features[] =
+2
View File
@@ -55,6 +55,8 @@
enum hb_ot_complex_shaper_t {
#define HB_COMPLEX_SHAPER_IMPLEMENT(name) hb_ot_complex_shaper_##name,
HB_COMPLEX_SHAPERS_IMPLEMENT_SHAPERS
/* Just here to avoid enum trailing comma: */
hb_ot_complex_shaper_generic = hb_ot_complex_shaper_default
#undef HB_COMPLEX_SHAPER_IMPLEMENT
};