~ubuntu-dev/ubuntu/lucid/mutt/lucid-201002110857

« back to all changes in this revision

Viewing changes to flags.c

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-06-07 17:30:03 UTC
  • mto: (16.2.1 experimental) (2.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20090607173003-rg37ui3h2bbv7wl0
Tags: upstream-1.5.19
ImportĀ upstreamĀ versionĀ 1.5.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include "sort.h"
26
26
#include "mx.h"
27
27
 
28
 
#ifdef USE_IMAP
29
 
#include "imap_private.h"
30
 
#endif
31
 
 
32
28
void _mutt_set_flag (CONTEXT *ctx, HEADER *h, int flag, int bf, int upd_ctx)
33
29
{
34
30
  int changed = h->changed;
331
327
 
332
328
  event = mutt_getch();
333
329
  i = event.ch;
334
 
  if (i == -1)
 
330
  if (i < 0)
335
331
  {
336
332
    CLEARLINE (LINES-1);
337
333
    return (-1);