- fix one more use of SidebarWidth without checking for visibility (reported by Trey...
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sat, 11 Feb 2006 23:25:31 +0000 (23:25 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sat, 11 Feb 2006 23:25:31 +0000 (23:25 +0000)
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@780 e385b8ad-14ed-0310-8656-cc95a2468c6d

VERSION.svn
mutt_curses.h

index 7e1d92a..d2d648e 100644 (file)
@@ -1 +1 @@
-779
+780
index 5d7b9ea..1141e25 100644 (file)
@@ -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)