diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2004-12-25 14:37:33 +0000 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2004-12-25 14:37:33 +0000 |
commit | 2fec3922de15717d4fbeebb1b1fe05e7a64d5c57 (patch) | |
tree | 52c8614cee81193924445669a3af555c9c651923 /vfs-methods | |
parent | ea68d7a0c9b49721c73c816987e09d7e43113306 (diff) | |
download | gnome-control-center-2fec3922de15717d4fbeebb1b1fe05e7a64d5c57.tar.gz |
NULL vs. 0 Same.
2004-12-25 Kjartan Maraas <kmaraas@gnome.org>
* font-method.c: (ensure_font_list): NULL vs. 0
* ftstream-vfs.c: (vfs_stream_close): Same.
Diffstat (limited to 'vfs-methods')
-rw-r--r-- | vfs-methods/fontilus/ChangeLog | 5 | ||||
-rw-r--r-- | vfs-methods/fontilus/font-method.c | 2 | ||||
-rw-r--r-- | vfs-methods/fontilus/ftstream-vfs.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/vfs-methods/fontilus/ChangeLog b/vfs-methods/fontilus/ChangeLog index 3b79479db..f0178d51d 100644 --- a/vfs-methods/fontilus/ChangeLog +++ b/vfs-methods/fontilus/ChangeLog @@ -1,3 +1,8 @@ +2004-12-25 Kjartan Maraas <kmaraas@gnome.org> + + * font-method.c: (ensure_font_list): NULL vs. 0 + * ftstream-vfs.c: (vfs_stream_close): Same. + 2004-12-10 James Henstridge <james@jamesh.id.au> * Makefile.am (install-desktop-database): update the desktop file diff --git a/vfs-methods/fontilus/font-method.c b/vfs-methods/fontilus/font-method.c index 592c2c65b..3c3f850b6 100644 --- a/vfs-methods/fontilus/font-method.c +++ b/vfs-methods/fontilus/font-method.c @@ -161,7 +161,7 @@ ensure_font_list(void) pat = FcPatternCreate(); os = FcObjectSetBuild(FC_FILE, FC_FAMILY, FC_WEIGHT, FC_SLANT, 0); - font_list = FcFontList(0, pat, os); + font_list = FcFontList(NULL, pat, os); FcPatternDestroy(pat); FcObjectSetDestroy(os); diff --git a/vfs-methods/fontilus/ftstream-vfs.c b/vfs-methods/fontilus/ftstream-vfs.c index 0cb17d132..5864aa828 100644 --- a/vfs-methods/fontilus/ftstream-vfs.c +++ b/vfs-methods/fontilus/ftstream-vfs.c @@ -55,7 +55,7 @@ vfs_stream_close(FT_Stream stream) stream->descriptor.pointer = NULL; stream->size = 0; - stream->base = 0; + stream->base = NULL; } static FT_Error |