diff plugins/tcl/tcl.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 4f1a59fb4159
children 50224ac8184d
line wrap: on
line diff
--- a/plugins/tcl/tcl.c	Fri Feb 11 03:51:26 2005 +0000
+++ b/plugins/tcl/tcl.c	Fri Feb 11 05:10:40 2005 +0000
@@ -161,8 +161,7 @@
 	const char *next;
 	int len, found = 0, err = 0, nelems;
 	gboolean status = FALSE;
-
-	if ((fp = fopen(plugin->path, "r")) == NULL)
+	if ((fp = g_fopen(plugin->path, "r")) == NULL)
 		return FALSE;
 	if (fstat(fileno(fp), &st)) {
 		fclose(fp);