aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/print_mswin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/print_mswin.c')
-rw-r--r--gtk/print_mswin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/print_mswin.c b/gtk/print_mswin.c
index f61bd7c503..8e772628fa 100644
--- a/gtk/print_mswin.c
+++ b/gtk/print_mswin.c
@@ -38,6 +38,7 @@
#endif
#include "print_mswin.h"
+#include "file_util.h"
/*
Some thoughts about a GTK win32 printer dialog:
@@ -187,7 +188,7 @@ void print_file( char *file_name, HDC hdc) {
SetMapMode (hdc, MM_TEXT);
- fh1 = fopen( file_name, "r" );
+ fh1 = eth_fopen( file_name, "r" );
if( !fh1 )
perror( "open failed on input file" );