summaryrefslogtreecommitdiff
path: root/src/freetype2/otvalid/otvjstf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/freetype2/otvalid/otvjstf.c')
-rw-r--r--src/freetype2/otvalid/otvjstf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freetype2/otvalid/otvjstf.c b/src/freetype2/otvalid/otvjstf.c
index 80b8dd6..a616a23 100644
--- a/src/freetype2/otvalid/otvjstf.c
+++ b/src/freetype2/otvalid/otvjstf.c
@@ -4,7 +4,7 @@
/* */
/* OpenType JSTF table validation (body). */
/* */
-/* Copyright 2004 by */
+/* Copyright 2004, 2007 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -222,7 +222,7 @@
OTV_LIMIT_CHECK( 6 );
if ( FT_NEXT_ULONG( p ) != 0x10000UL ) /* Version */
- FT_INVALID_DATA;
+ FT_INVALID_FORMAT;
JstfScriptCount = FT_NEXT_USHORT( p );