2009-01-06 [colin] 3.7.0cvs15
[claws.git] / src / textview.c
index 4abc0dbc65a62ff79b98348dda618ce7c5af44a1..910fa02f71f3a81b7ea6ee6f04051ea2f1824de3 100644 (file)
@@ -2927,7 +2927,7 @@ static void save_file_cb (GtkAction *action, TextView *textview)
 
        subst_for_filename(filename);
        
-       if (prefs_common.attach_save_dir)
+       if (prefs_common.attach_save_dir && *prefs_common.attach_save_dir)
                filepath = g_strconcat(prefs_common.attach_save_dir,
                                       G_DIR_SEPARATOR_S, filename, NULL);
        else