[HarfBuzz] comma at end of enum list may break the build
Jonathan Kew
jfkthame at googlemail.com
Mon Jun 4 03:57:46 PDT 2012
Some strict compilers will reject this as not being standard C++.
Patch attached (from mozilla bug
https://bugzilla.mozilla.org/show_bug.cgi?id=761019).
JK
-------------- next part --------------
diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc
index 0c5479e..53ce263 100644
--- a/src/hb-ot-shape-complex-indic.cc
+++ b/src/hb-ot-shape-complex-indic.cc
@@ -617,7 +617,7 @@ final_reordering_syllable (hb_buffer_t *buffer, hb_mask_t *mask_array,
REPH_BEFORE_SUBSCRIPT,
REPH_AFTER_SUBSCRIPT,
REPH_BEFORE_POSTSCRIPT,
- REPH_AFTER_POSTSCRIPT,
+ REPH_AFTER_POSTSCRIPT
} reph_pos;
/* XXX Figure out old behavior too */
More information about the HarfBuzz
mailing list