Mercurial > pidgin
changeset 15235: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 | 6f4e30143bf6 |
children | 2bcb8684bfb5 |
files | gtk/gtkrequest.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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