X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcurses.h;h=c86b651f25bdf0f70f256bf265fe0ab74328c89d;hp=43043632c84d90dedc3f9214754e66238e94bcbe;hb=cc707c1e986b60f2c1c1932d0789038d465a7a59;hpb=066efd5f9515b763908dd2f761c4d6bcb86faa4e;ds=sidebyside diff --git a/lib-ui/curses.h b/lib-ui/curses.h index 4304363..c86b651 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 (ml_core.beep) beep(); } while (0) #if ! (defined(USE_SLANG_CURSES) || defined(HAVE_CURS_SET)) #define curs_set(x)