X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14c29200cb58d3c4a0830265f2433849781858d0..506bd7389e0878deccab30d897009a4b72be65a2:/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);