aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_display_header.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs_display_header.c')
-rw-r--r--src/prefs_display_header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prefs_display_header.c b/src/prefs_display_header.c
index 42c88306..6d21aef8 100644
--- a/src/prefs_display_header.c
+++ b/src/prefs_display_header.c
@@ -369,7 +369,7 @@ void prefs_display_header_read_config(void)
rcpath = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S,
DISPLAY_HEADER_RC, NULL);
- if ((fp = fopen(rcpath, "rb")) == NULL) {
+ if ((fp = g_fopen(rcpath, "rb")) == NULL) {
if (ENOENT != errno) FILE_OP_ERROR(rcpath, "fopen");
g_free(rcpath);
prefs_common.disphdr_list = NULL;