Minor
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 11 Nov 2018 03:41:35 +0000 (22:41 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 11 Nov 2018 03:41:35 +0000 (22:41 -0500)
src/hb-ot-layout.cc

index 33bf03c..0353c1c 100644 (file)
@@ -1060,9 +1060,8 @@ hb_ot_layout_lookups_substitute_closure (hb_face_t      *face,
       for (unsigned int i = 0; i < gsub.get_lookup_count (); i++)
         gsub.get_lookup (i).closure (&c, i);
     }
-    iteration_count++;
-  } while (iteration_count <= HB_CLOSURE_MAX_STAGES
-           && glyphs_length != glyphs->get_population ());
+  } while (iteration_count++ <= HB_CLOSURE_MAX_STAGES &&
+          glyphs_length != glyphs->get_population ());
 }
 
 /*