summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-09-28 01:48:42 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-09-28 01:48:42 +0200
commit00fbf435842410a5a0af8f2757e4affc6722f405 (patch)
treef3d201bdebe143fefce1409b036d0039d6332a64 /src
parenta07011007f0e07ea5db523a85485a398625b28e7 (diff)
KISS!
Diffstat (limited to 'src')
-rw-r--r--src/fe-gtk/urlgrab.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fe-gtk/urlgrab.c b/src/fe-gtk/urlgrab.c
index 159b4510..d9b79670 100644
--- a/src/fe-gtk/urlgrab.c
+++ b/src/fe-gtk/urlgrab.c
@@ -144,11 +144,8 @@ url_save_callback (void *arg1, char *file)
 static void
 url_button_save (void)
 {
-	const char *xdir;
-
-	xdir = get_xdir_utf8 ();
 	gtkutil_file_req (_("Select an output filename"),
-							url_save_callback, NULL, xdir, NULL, FRF_WRITE|FRF_FILTERISINITIAL);
+							url_save_callback, NULL, get_xdir_utf8 (), NULL, FRF_WRITE|FRF_FILTERISINITIAL);
 }
 
 void