X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcurses.h;h=e0612fef2709c2e842eeda568c7d45d25ee345ff;hp=4cedb6c6df9d05dfba446423c893866dd3de4440;hb=892df7e70376da43374d834b8a825ea2d59efd06;hpb=418e55040ec4a95698a8f1f128f3afbfd6aba48b diff --git a/lib-ui/curses.h b/lib-ui/curses.h index 4cedb6c..e0612fe 100644 --- a/lib-ui/curses.h +++ b/lib-ui/curses.h @@ -62,7 +62,7 @@ #define CLEARLINE_WIN(x) move(x,(option(OPTMBOXPANE)?SidebarWidth:0)), clrtoeol() #define CLEARLINE(x) move(x,0), clrtoeol() #define CENTERLINE(x,y) move(y, (COLS-strlen(x))/2), addstr(x) -#define BEEP() do { if (option (OPTBEEP)) beep(); } while (0) +#define BEEP() do { if (MCore.beep) beep(); } while (0) #if ! (defined(USE_SLANG_CURSES) || defined(HAVE_CURS_SET)) #define curs_set(x) @@ -147,7 +147,7 @@ typedef struct { void mutt_progress_bar (progress_t* progress, long pos); void mutt_clear_error (void); -void mutt_edit_file (const char *, const char *); +void mutt_edit_file (const char *); void mutt_curses_error (const char *, ...) __attribute__((format(printf, 1, 2))); void mutt_curses_message (const char *, ...)