/*
- * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
+ * Copyright (C) 1996-2000,2007 Michael R. Elkins <me@mutt.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
if (Context && Context->path)
{
strfcpy (tmp, Context->path, sizeof (tmp));
- mutt_pretty_mailbox (tmp);
+ mutt_pretty_mailbox (tmp, sizeof (tmp));
}
else
strfcpy (tmp, _("(no mailbox)"), sizeof (tmp));
case 'r':
{
- int i = 0;
+ size_t i = 0;
if (Context)
{
i = option(OPTATTACHMSG) ? 3 : ((Context->readonly ||
- Context->dontwrite) ? 2 : (Context->changed || (
-#ifdef USE_IMAP
- /* deleted doesn't necessarily mean changed in IMAP */
- Context->magic != M_IMAP &&
-#endif
- Context->deleted)) ? 1 : 0);
+ Context->dontwrite) ? 2 : (Context->changed ||
+ /* deleted doesn't necessarily mean changed in IMAP */
+ (Context->magic != M_IMAP &&
+ Context->deleted)) ? 1 : 0);
}
if (!StChars)