Minor
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 5 May 2010 05:40:25 +0000 (01:40 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 5 May 2010 05:40:25 +0000 (01:40 -0400)
src/hb-open-type-private.hh
src/hb-ot-layout-gpos-private.hh
src/hb-ot-layout-gsub-private.hh
src/hb-ot-layout-gsubgpos-private.hh

index c66d707..78a1c3b 100644 (file)
@@ -230,11 +230,11 @@ struct hb_sanitize_context_t
     return this->writable;
   }
 
+  unsigned int debug_depth;
   const char *start, *end;
   bool writable;
   unsigned int edit_count;
   hb_blob_t *blob;
-  unsigned int debug_depth;
 };
 
 
@@ -254,7 +254,7 @@ template <typename Type>
 struct Sanitizer
 {
   static hb_blob_t *sanitize (hb_blob_t *blob) {
-    hb_sanitize_context_t context[1] = {{}};
+    hb_sanitize_context_t context[1] = {{0}};
     bool sane;
 
     /* TODO is_sane() stuff */
index b1fb3cb..613fd0b 100644 (file)
@@ -1490,7 +1490,7 @@ struct PosLookup : Lookup
                          unsigned int    nesting_level_left) const
   {
     unsigned int lookup_type = get_type ();
-    hb_apply_context_t context[1] = {{}};
+    hb_apply_context_t context[1] = {{0}};
 
     context->layout = layout;
     context->buffer = buffer;
index 5cea951..7290e98 100644 (file)
@@ -775,7 +775,7 @@ struct SubstLookup : Lookup
                          unsigned int nesting_level_left) const
   {
     unsigned int lookup_type = get_type ();
-    hb_apply_context_t context[1] = {{}};
+    hb_apply_context_t context[1] = {{0}};
 
     context->layout = layout;
     context->buffer = buffer;
index b4c9e05..24889b9 100644 (file)
 
 struct hb_apply_context_t
 {
+  unsigned int debug_depth;
   hb_ot_layout_context_t *layout;
   hb_buffer_t *buffer;
   unsigned int context_length;
   unsigned int nesting_level_left;
   unsigned int lookup_flag;
   unsigned int property; /* propety of first glyph (TODO remove) */
-  unsigned int debug_depth;
 };