summaryrefslogtreecommitdiff
path: root/Build/source/libs/freetype2/src/pcf/pcfdrivr.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/freetype2/src/pcf/pcfdrivr.c')
-rw-r--r--Build/source/libs/freetype2/src/pcf/pcfdrivr.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/Build/source/libs/freetype2/src/pcf/pcfdrivr.c b/Build/source/libs/freetype2/src/pcf/pcfdrivr.c
index c0f0e49ca12..0fea30e8cbc 100644
--- a/Build/source/libs/freetype2/src/pcf/pcfdrivr.c
+++ b/Build/source/libs/freetype2/src/pcf/pcfdrivr.c
@@ -2,7 +2,7 @@
FreeType font driver for pcf files
- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006 by
+ Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008 by
Francesco Zappa Nardelli
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -187,7 +187,9 @@ THE SOFTWARE.
pcf_cmap_init,
pcf_cmap_done,
pcf_cmap_char_index,
- pcf_cmap_char_next
+ pcf_cmap_char_next,
+
+ NULL, NULL, NULL, NULL, NULL
};
@@ -271,6 +273,7 @@ THE SOFTWARE.
error = error2;
if ( error )
+#ifdef FT_CONFIG_OPTION_USE_LZW
{
FT_Error error3;
@@ -293,6 +296,9 @@ THE SOFTWARE.
if ( error )
goto Fail;
}
+#else
+ goto Fail;
+#endif
else
{
face->gzip_source = stream;