From 83e61ff4702121d3418fe82a8fe7ef6bb63bb5d2 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 16 Apr 2009 12:30:51 -0400 Subject: [PATCH] [GSUB] Fix reverse lookup loop like we did in the old code before --- src/hb-ot-layout-gsub-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-gsub-private.h b/src/hb-ot-layout-gsub-private.h index 968dd4a4d..b607ca537 100644 --- a/src/hb-ot-layout-gsub-private.h +++ b/src/hb-ot-layout-gsub-private.h @@ -808,7 +808,7 @@ struct SubstLookup : Lookup { else buffer->in_pos--; - } while (buffer->in_pos); + } while ((int) buffer->in_pos >= 0); } return ret;