summaryrefslogtreecommitdiff
path: root/src/lzw/ftlzw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lzw/ftlzw.c')
-rw-r--r--src/lzw/ftlzw.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/lzw/ftlzw.c b/src/lzw/ftlzw.c
index bf52b77fc..5d23cd242 100644
--- a/src/lzw/ftlzw.c
+++ b/src/lzw/ftlzw.c
@@ -8,7 +8,7 @@
/* be used to parse compressed PCF fonts, as found with many X11 server */
/* distributions. */
/* */
-/* Copyright 2004 by */
+/* Copyright 2004, 2005 by */
/* Albert Chin-A-Young. */
/* */
/* Based on code in src/gzip/ftgzip.c, Copyright 2004 by */
@@ -414,13 +414,14 @@
FT_Memory memory = source->memory;
FT_LZWFile zip;
- /* check the header right now, this will prevent us from
- * allocating a huge LZWFile object (400 Kb of heap memory !!)
- * when not necessary.
- *
- * Did I mention that you should never use .Z compressed font
- * file ?
- */
+
+ /*
+ * Check the header right now; this prevents allocation a huge
+ * LZWFile object (400 KByte of heap memory) if not necessary.
+ *
+ * Did I mention that you should never use .Z compressed font
+ * file?
+ */
error = ft_lzw_check_header( source );
if ( error )
goto Exit;