aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 07ccf89000..7432506a27 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -2453,7 +2453,7 @@ save_msg_ok (GtkWidget *widget, gpointer user_data)
_("`%s' already exists.\nOverwrite it?"), path);
}
- if (ret == GTK_RESPONSE_OK) {
+ if (ret) {
folder = g_object_get_data ((GObject *) user_data, "folder");
uids = g_object_steal_data (G_OBJECT (user_data), "uids");
mail_save_messages (folder, uids, path, NULL, NULL);