| Index: third_party/freetype/src/base/ftinit.c
|
| diff --git a/third_party/freetype/src/base/ftinit.c b/third_party/freetype/src/base/ftinit.c
|
| index c4c88201a16045365b0b07c81aa10e9fb10c28ba..b65a91d06c6819217e54689d6fba1a5c075c1ad1 100644
|
| --- a/third_party/freetype/src/base/ftinit.c
|
| +++ b/third_party/freetype/src/base/ftinit.c
|
| @@ -4,7 +4,7 @@
|
| /* */
|
| /* FreeType initialization layer (body). */
|
| /* */
|
| -/* Copyright 1996-2002, 2005, 2007, 2009, 2012-2014 by */
|
| +/* Copyright 1996-2015 by */
|
| /* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
| /* */
|
| /* This file is part of the FreeType project, and may only be used, */
|
| @@ -23,8 +23,8 @@
|
| /* FT_Add_Default_Modules(): */
|
| /* This function is used to add the set of default modules to a */
|
| /* fresh new library object. The set is taken from the header file */
|
| - /* `config/ftmodule.h'. See the document `FreeType 2.0 Build */
|
| - /* System' for more information. */
|
| + /* `freetype/config/ftmodule.h'. See the document `FreeType 2.0 */
|
| + /* Build System' for more information. */
|
| /* */
|
| /* FT_Init_FreeType(): */
|
| /* This function creates a system object for the current platform, */
|
| @@ -138,7 +138,7 @@
|
| #include FT_CONFIG_MODULES_H
|
|
|
| FT_FREE( classes );
|
| - pic_container->default_module_classes = 0;
|
| + pic_container->default_module_classes = NULL;
|
| }
|
|
|
|
|
| @@ -164,7 +164,7 @@
|
|
|
| memory = library->memory;
|
|
|
| - pic_container->default_module_classes = 0;
|
| + pic_container->default_module_classes = NULL;
|
|
|
| if ( FT_ALLOC( classes, sizeof ( FT_Module_Class* ) *
|
| ( FT_NUM_MODULE_CLASSES + 1 ) ) )
|
| @@ -172,8 +172,8 @@
|
|
|
| /* initialize all pointers to 0, especially the last one */
|
| for ( i = 0; i < FT_NUM_MODULE_CLASSES; i++ )
|
| - classes[i] = 0;
|
| - classes[FT_NUM_MODULE_CLASSES] = 0;
|
| + classes[i] = NULL;
|
| + classes[FT_NUM_MODULE_CLASSES] = NULL;
|
|
|
| i = 0;
|
|
|
|
|