From: Kevin McCarthy Date: Sun, 10 Apr 2016 21:14:10 +0000 (-0700) Subject: Add error message string for imap_mailbox_rename() on root folder. X-Git-Tag: neomutt-20160822~180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aebcf0f81f1418a4fc09ef767efefe030429eb22;p=neomutt Add error message string for imap_mailbox_rename() on root folder. This was fixed just before 1.6.0, but due to the string freeze, could not add an error message. --- diff --git a/imap/browse.c b/imap/browse.c index ccbf1c6fc..04d0c0bab 100644 --- a/imap/browse.c +++ b/imap/browse.c @@ -319,11 +319,9 @@ int imap_mailbox_rename(const char* mailbox) goto fail; } - /* TODO: add mutt_error call, such as - * "Cannot rename root folder" - */ if (!mx.mbox) { + mutt_error _("Cannot rename root folder"); goto fail; }