fnt2bdf: Remove unneeded casts of zero.
Francois Gouget
fgouget at free.fr
Mon Dec 8 02:25:18 CST 2008
---
tools/fnt2bdf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/fnt2bdf.c b/tools/fnt2bdf.c
index f204720..e6a53fa 100644
--- a/tools/fnt2bdf.c
+++ b/tools/fnt2bdf.c
@@ -209,7 +209,7 @@ static int dump_bdf( fnt_fontS* cpe_font_struct, unsigned char* file_buffer)
if( (ic = make_bdf_filename(l_filename, cpe_font_struct, file_buffer)) )
return ic;
- if((fp = fopen(l_filename, "w")) == (FILE *) 0)
+ if((fp = fopen(l_filename, "w")) == NULL)
{
fprintf(stderr, "Couldn't open \"%s\" for output.\n", l_filename);
return ERROR_FILE;
--
1.5.6.5
More information about the wine-patches
mailing list