diff src/gtkdebug.c @ 10589:0f7452b1f777

[gaim-migrate @ 11994] Use GLib 2.6's gstdio functions. This should fix gaim not liking non-ascii filenames in win32. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 11 Feb 2005 05:10:40 +0000
parents 6a20307ef8dc
children 42dbc4ba1325
line wrap: on
line diff
--- a/src/gtkdebug.c	Fri Feb 11 03:51:26 2005 +0000
+++ b/src/gtkdebug.c	Fri Feb 11 05:10:40 2005 +0000
@@ -173,7 +173,7 @@
 	FILE *fp;
 	char *tmp;
 
-	if ((fp = fopen(filename, "w+")) == NULL) {
+	if ((fp = g_fopen(filename, "w+")) == NULL) {
 		gaim_notify_error(win, NULL, _("Unable to open file."), NULL);
 		return;
 	}