#include <lib-ui/lib-ui.h>
#include <lib-mx/mx.h>
-#include "pop.h"
+#include <lib-mx/pop.h>
#include "menu.h"
for (i = msgno + 1; i < Context->vcount; i++)
if (!Context->hdrs[Context->v2r[i]]->deleted)
- return (i);
- return (-1);
+ return i;
+ return -1;
}
static int ci_previous_undeleted (int msgno)
for (i = msgno - 1; i >= 0; i--)
if (!Context->hdrs[Context->v2r[i]]->deleted)
- return (i);
- return (-1);
+ return i;
+ return -1;
}
/* Return the index of the first new message, or failing that, the first
if (!Context->hdrs[Context->v2r[i]]->read &&
!Context->hdrs[Context->v2r[i]]->deleted) {
if (!Context->hdrs[Context->v2r[i]]->old)
- return (i);
+ return i;
else if (old == -1)
old = i;
}
}
if (old != -1)
- return (old);
+ return old;
/* If Sort is reverse and not threaded, the latest message is first.
* If Sort is threaded, the latest message is first iff exactly one
((Sort ^ SortAux) & SORT_REVERSE)))
return 0;
else
- return (Context->vcount ? Context->vcount - 1 : 0);
+ return Context->vcount ? Context->vcount - 1 : 0;
}
return 0;
}
}
mutt_menuDestroy (&menu);
- return (closed);
+ return closed;
}
void mutt_set_header_color (CONTEXT * ctx, HEADER * curhdr)