changeset 4659:260678c4aeb3

[gaim-migrate @ 4970] That's to Ari Pollak for pointing out that when we set the directory for the file send dialog, we need to have a trailing slash in the name. And thanks for suggesting a fix, also. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 07 Mar 2003 05:32:44 +0000
parents 22215f5129b2
children 92f401df564a
files src/gtkft.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkft.c	Fri Mar 07 05:20:39 2003 +0000
+++ b/src/gtkft.c	Fri Mar 07 05:32:44 2003 +0000
@@ -1027,7 +1027,7 @@
 		data->filesel = gtk_file_selection_new(_("Gaim - Save As..."));
 
 	if (gaim_xfer_get_filename(xfer) == NULL)
-		init_str = g_strdup(cur_dir);
+		init_str = g_strdup_printf("%s/", cur_dir);
 	else
 		init_str = g_build_filename(cur_dir, gaim_xfer_get_filename(xfer),
 									NULL);