From: pdmef Date: Sat, 11 Feb 2006 23:25:31 +0000 (+0000) Subject: - fix one more use of SidebarWidth without checking for visibility (reported by Trey... X-Git-Url: http://git.madism.org/?a=commitdiff_plain;ds=inline;h=9ed6c0f86855d82f8b95b3f623bf2639f0f19d0b;p=apps%2Fmadmutt.git - fix one more use of SidebarWidth without checking for visibility (reported by Trey Sizemore ) git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@780 e385b8ad-14ed-0310-8656-cc95a2468c6d --- diff --git a/VERSION.svn b/VERSION.svn index 7e1d92a..d2d648e 100644 --- a/VERSION.svn +++ b/VERSION.svn @@ -1 +1 @@ -779 +780 diff --git a/mutt_curses.h b/mutt_curses.h index 5d7b9ea..1141e25 100644 --- a/mutt_curses.h +++ b/mutt_curses.h @@ -52,7 +52,7 @@ #undef lines #endif /* lines */ -#define CLEARLINE_WIN(x) move(x,SidebarWidth), clrtoeol() +#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)