Fixed ESC handling in the custom header delete confirmation.
[claws.git] / src / prefs_customheader.c
index 029b345b162b05cfffb6bb37472390535251fe0d..15fa6111213d5755b54bbe9ef545eb8dbfeb3838 100644 (file)
@@ -540,7 +540,7 @@ static void prefs_custom_header_delete_cb(void)
 
        if (alertpanel(_("Delete header"),
                       _("Do you really want to delete this header?"),
-                      _("Yes"), _("No"), NULL) == G_ALERTALTERNATE)
+                      _("Yes"), _("No"), NULL) != G_ALERTDEFAULT)
                return;
 
        ch = gtk_clist_get_row_data(clist, row);