Mercurial > pidgin
diff src/gtkconv.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 | ed2b8b432525 |
children | 84fb7beabb5c |
line wrap: on
line diff
--- a/src/gtkconv.c Fri Feb 11 03:51:26 2005 +0000 +++ b/src/gtkconv.c Fri Feb 11 05:10:40 2005 +0000 @@ -869,7 +869,7 @@ FILE *fp; const char *name; - if ((fp = fopen(filename, "w+")) == NULL) { + if ((fp = g_fopen(filename, "w+")) == NULL) { gaim_notify_error(conv, NULL, _("Unable to open file."), NULL); return; } @@ -2520,7 +2520,7 @@ const void *data; size_t len; - if ((fp = fopen(filename, "wb")) == NULL) { + if ((fp = g_fopen(filename, "wb")) == NULL) { gaim_notify_error(conv, NULL, _("Unable to open file."), NULL); return; }