#undef lines
#endif /* lines */
-#define CLEARLINE(win, x) mutt_window_clearline(win, x)
-#define CENTERLINE(win, x, y) \
- mutt_window_move(win, y, (win->cols - strlen(x)) / 2), addstr(x)
#define BEEP() \
do \
{ \
OPTMAX
};
-#define mutt_bit_alloc(n) calloc((n + 7) / 8, sizeof(char))
#define mutt_bit_set(v, n) v[n / 8] |= (1 << (n % 8))
#define mutt_bit_unset(v, n) v[n / 8] &= ~(1 << (n % 8))
#define mutt_bit_toggle(v, n) v[n / 8] ^= (1 << (n % 8))
#define ISHEADER(x) ((x) == MT_COLOR_HEADER || (x) == MT_COLOR_HDEFAULT)
#define IsAttach(x) (x && (x)->bdy)
-#define IsRecvAttach(x) (x && (x)->bdy && (x)->fp)
-#define IsSendAttach(x) (x && (x)->bdy && !(x)->fp)
#define IsMsgAttach(x) (x && (x)->fp && (x)->bdy && (x)->bdy->hdr)
#define IsHeader(x) (x && (x)->hdr && !(x)->bdy)