X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14c29200cb58d3c4a0830265f2433849781858d0..22e147a051c2bca3bf6a1210c3fa35eafe9e546f:/flags.c diff --git a/flags.c b/flags.c index 732eb01..f0f3d81 100644 --- a/flags.c +++ b/flags.c @@ -25,10 +25,6 @@ #include "sort.h" #include "mx.h" -#ifdef USE_IMAP -#include "imap_private.h" -#endif - void _mutt_set_flag (CONTEXT *ctx, HEADER *h, int flag, int bf, int upd_ctx) { int changed = h->changed; @@ -331,7 +327,7 @@ int mutt_change_flag (HEADER *h, int bf) event = mutt_getch(); i = event.ch; - if (i == -1) + if (i < 0) { CLEARLINE (LINES-1); return (-1);