summaryrefslogtreecommitdiffstats
path: root/src/sfnt/sfntpic.c
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2010-09-16 11:32:17 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-16 11:32:17 -0700
commitcb487e4c5295d0d9bb96ddd3a27372ffad41ae5b (patch)
tree2b4c5412391bf31f6a54b237ea83bfde05ec3802 /src/sfnt/sfntpic.c
parentf2873c598230898219f9481ffb43edc5e4d3f806 (diff)
parentaacb8e1368a883fcbc9fe64fd0e460cef9c9b20c (diff)
downloadandroid_external_freetype-cb487e4c5295d0d9bb96ddd3a27372ffad41ae5b.tar.gz
android_external_freetype-cb487e4c5295d0d9bb96ddd3a27372ffad41ae5b.tar.bz2
android_external_freetype-cb487e4c5295d0d9bb96ddd3a27372ffad41ae5b.zip
am aacb8e13: upgrade freetype to 2.4.2.
Merge commit 'aacb8e1368a883fcbc9fe64fd0e460cef9c9b20c' * commit 'aacb8e1368a883fcbc9fe64fd0e460cef9c9b20c': upgrade freetype to 2.4.2.
Diffstat (limited to 'src/sfnt/sfntpic.c')
-rw-r--r--src/sfnt/sfntpic.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/sfnt/sfntpic.c b/src/sfnt/sfntpic.c
index fd3cf4e..53aca17 100644
--- a/src/sfnt/sfntpic.c
+++ b/src/sfnt/sfntpic.c
@@ -4,7 +4,7 @@
/* */
/* The FreeType position independent code services for sfnt module. */
/* */
-/* Copyright 2009 by */
+/* Copyright 2009, 2010 by */
/* Oran Agra and Mickey Gabel. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -60,15 +60,16 @@
FT_Error
sfnt_module_class_pic_init( FT_Library library )
{
- FT_PIC_Container* pic_container = &library->pic_container;
- FT_Error error = FT_Err_Ok;
- sfntModulePIC* container;
- FT_Memory memory = library->memory;
+ FT_PIC_Container* pic_container = &library->pic_container;
+ FT_Error error = SFNT_Err_Ok;
+ sfntModulePIC* container;
+ FT_Memory memory = library->memory;
+
/* allocate pointer, clear and set global container pointer */
if ( FT_ALLOC ( container, sizeof ( *container ) ) )
return error;
- FT_MEM_SET( container, 0, sizeof(*container) );
+ FT_MEM_SET( container, 0, sizeof ( *container ) );
pic_container->sfnt = container;
/* initialize pointer table - this is how the module usually expects this data */