From e5c03181ba3cd06f27e10677960575e44e7900a6 Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 8 Aug 2005 07:07:19 +0000 Subject: added wrappers for C library function that take pathname arguments. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@478 ee746299-78ed-0310-b773-934348b2243d --- src/sourcewindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sourcewindow.c') diff --git a/src/sourcewindow.c b/src/sourcewindow.c index f6eaf7e5..11e5c927 100644 --- a/src/sourcewindow.c +++ b/src/sourcewindow.c @@ -126,7 +126,7 @@ void source_window_show_msg(SourceWindow *sourcewin, MsgInfo *msginfo) file = procmsg_get_message_file(msginfo); g_return_if_fail(file != NULL); - if ((fp = fopen(file, "rb")) == NULL) { + if ((fp = g_fopen(file, "rb")) == NULL) { FILE_OP_ERROR(file, "fopen"); g_free(file); return; -- cgit v1.2.3