(read_value_record): Fix typo.
authorhanda <handa>
Mon, 26 Jul 2004 00:47:57 +0000 (00:47 +0000)
committerhanda <handa>
Mon, 26 Jul 2004 00:47:57 +0000 (00:47 +0000)
src/otfopen.c

index 7b6288b..0fce174 100644 (file)
@@ -1967,7 +1967,7 @@ read_value_record (OTF *otf, OTF_Stream *stream, long offset,
 
   if (bit & OTF_XPlacement)
     READ_INT16 (stream, value_record->XPlacement);
-  if (bit & OTF_XPlacement)
+  if (bit & OTF_YPlacement)
     READ_INT16 (stream, value_record->YPlacement);
   if (bit & OTF_XAdvance)
     READ_INT16 (stream, value_record->XAdvance);