summaryrefslogtreecommitdiff
path: root/builds/windows/ftdebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'builds/windows/ftdebug.c')
-rw-r--r--builds/windows/ftdebug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builds/windows/ftdebug.c b/builds/windows/ftdebug.c
index c8e811e73..389b9d8a9 100644
--- a/builds/windows/ftdebug.c
+++ b/builds/windows/ftdebug.c
@@ -452,7 +452,8 @@
FT_BASE_DEF( void )
ft_logging_deinit( void )
{
- ft_fclose( ft_fileptr );
+ if ( ft_fileptr != stderr )
+ ft_fclose( ft_fileptr );
}