summary refs log tree commit diff stats
path: root/src/fe-gtk/dccgui.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-22 12:10:55 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-22 12:10:55 +0200
commitb563b934143034cb6a57c3ab674140f63014b1a3 (patch)
tree9d19cd53fe2ffeeab7abafac5c9f7819025515dd /src/fe-gtk/dccgui.c
parentcf8ea2649811bc9736e547eae8f74ecfdf5f6757 (diff)
Variable cleanup for dcc_*
Diffstat (limited to 'src/fe-gtk/dccgui.c')
-rw-r--r--src/fe-gtk/dccgui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fe-gtk/dccgui.c b/src/fe-gtk/dccgui.c
index c003d1ab..30c7ef03 100644
--- a/src/fe-gtk/dccgui.c
+++ b/src/fe-gtk/dccgui.c
@@ -165,7 +165,7 @@ fe_dcc_send_filereq (struct session *sess, char *nick, int maxcps, int passive)
 	mdc->passive = passive;
 
 	snprintf (tbuf, sizeof tbuf, _("Send file to %s"), nick);
-	gtkutil_file_req (tbuf, dcc_send_filereq_file, mdc, prefs.dccdir, NULL, FRF_MULTIPLE|FRF_FILTERISINITIAL);
+	gtkutil_file_req (tbuf, dcc_send_filereq_file, mdc, prefs.hex_dcc_dir, NULL, FRF_MULTIPLE|FRF_FILTERISINITIAL);
 }
 
 static void
@@ -562,10 +562,10 @@ browse_folder (char *dir)
 static void
 browse_dcc_folder (void)
 {
-	if (prefs.dcc_completed_dir[0])
-		browse_folder (prefs.dcc_completed_dir);
+	if (prefs.hex_dcc_completed_dir[0])
+		browse_folder (prefs.hex_dcc_completed_dir);
 	else
-		browse_folder (prefs.dccdir);
+		browse_folder (prefs.hex_dcc_dir);
 }
 
 static void