summaryrefslogtreecommitdiff
path: root/src/freetype2/otvalid/otvbase.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/freetype2/otvalid/otvbase.c')
-rw-r--r--src/freetype2/otvalid/otvbase.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/freetype2/otvalid/otvbase.c b/src/freetype2/otvalid/otvbase.c
index 8ad2238..d742d2d 100644
--- a/src/freetype2/otvalid/otvbase.c
+++ b/src/freetype2/otvalid/otvbase.c
@@ -4,7 +4,7 @@
/* */
/* OpenType BASE 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, */
@@ -62,7 +62,7 @@
break;
default:
- FT_INVALID_DATA;
+ FT_INVALID_FORMAT;
}
OTV_EXIT;
@@ -297,7 +297,7 @@
OTV_LIMIT_CHECK( 6 );
if ( FT_NEXT_ULONG( p ) != 0x10000UL ) /* Version */
- FT_INVALID_DATA;
+ FT_INVALID_FORMAT;
table_size = 6;