Minor fix
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 13 Nov 2012 22:42:22 +0000 (14:42 -0800)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 13 Nov 2012 22:42:22 +0000 (14:42 -0800)
Ouch

src/hb-shape.cc

index 4d64823..7dfe049 100644 (file)
@@ -176,7 +176,7 @@ hb_feature_to_string (hb_feature_t *feature,
   len += 4;
   while (len && s[len - 1] == ' ')
     len--;
-  if (feature->start != 0 || feature->start != (unsigned int) -1)
+  if (feature->start != 0 || feature->end != (unsigned int) -1)
   {
     s[len++] = '[';
     if (feature->start)