projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Nico Golde:
[apps/madmutt.git]
/
pager.c
diff --git
a/pager.c
b/pager.c
index
0e975e4
..
b735abf
100644
(file)
--- a/
pager.c
+++ b/
pager.c
@@
-1042,8
+1042,11
@@
static int format_line (struct line_t **lineInfo, int n, unsigned char *buf,
wchar_t wc;
mbstate_t mbstate;
- int wrap_cols = COLS - WrapMargin - SidebarWidth;
-
+ int wrap_cols = COLS;
+ if (!(flags & (M_SHOWFLAT)))
+ wrap_cols -= WrapMargin;
+ wrap_cols -= SidebarWidth;
+
if (wrap_cols <= 0)
wrap_cols = COLS;