Minor tidying up

This commit is contained in:
Arnavion
2014-12-08 21:24:59 -08:00
parent 65da34f19e
commit c1831cb19d
9 changed files with 21 additions and 35 deletions

View File

@@ -882,11 +882,10 @@ fe_confirm (const char *message, void (*yesproc)(void *), void (*noproc)(void *)
{
/* warning, assuming fe_confirm is used by DCC only! */
struct DCC *dcc = ud;
char *filepath;
if (dcc->file)
{
filepath = g_build_filename (prefs.hex_dcc_dir, dcc->file, NULL);
char *filepath = g_build_filename (prefs.hex_dcc_dir, dcc->file, NULL);
gtkutil_file_req (message, dcc_saveas_cb, ud, filepath, NULL,
FRF_WRITE|FRF_NOASKOVERWRITE|FRF_FILTERISINITIAL);
g_free (filepath);