Mercurial > pidgin.yaz
diff gtk/gtkrequest.c @ 15236:6d0925ac1ed6
[gaim-migrate @ 18025]
Fix an assertion failure when browsing for a file in the pounce editor
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 19 Dec 2006 18:52:18 +0000 |
parents | 60bba83d5c2d |
children | 42c58421ec52 |
line wrap: on
line diff
--- a/gtk/gtkrequest.c Tue Dec 19 05:28:06 2006 +0000 +++ b/gtk/gtkrequest.c Tue Dec 19 18:52:18 2006 +0000 @@ -1528,7 +1528,7 @@ current_folder = gaim_prefs_get_string("/gaim/gtk/filelocations/last_open_folder"); } - if (filename != NULL) { + if ((filename != NULL) && (*filename != '\0')) { if (savedialog) gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(filesel), filename); else