diff options
Diffstat (limited to 'fluid/code.cxx')
| -rw-r--r-- | fluid/code.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/code.cxx b/fluid/code.cxx index 2e55d9f7a..c235e25d1 100644 --- a/fluid/code.cxx +++ b/fluid/code.cxx @@ -354,13 +354,13 @@ int write_code(const char *s, const char *t) { current_widget_class = 0L; if (!s) code_file = stdout; else { - FILE *f = fopen(s, filemode); + FILE *f = fl_fopen(s, filemode); if (!f) return 0; code_file = f; } if (!t) header_file = stdout; else { - FILE *f = fopen(t, filemode); + FILE *f = fl_fopen(t, filemode); if (!f) {fclose(code_file); return 0;} header_file = f; } @@ -468,7 +468,7 @@ int write_code(const char *s, const char *t) { } int write_strings(const char *sfile) { - FILE *fp = fopen(sfile, "w"); + FILE *fp = fl_fopen(sfile, "w"); Fl_Type *p; Fl_Widget_Type *w; int i; |
