summaryrefslogtreecommitdiffstats
path: root/src/textformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textformat.c')
-rw-r--r--src/textformat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/textformat.c b/src/textformat.c
index dfbeed70de..6a93890bd2 100644
--- a/src/textformat.c
+++ b/src/textformat.c
@@ -794,10 +794,8 @@ comp_textwidth(
// The width is the window width minus 'wrapmargin' minus all the
// things that add to the margin.
textwidth = curwin->w_width - curbuf->b_p_wm;
-#ifdef FEAT_CMDWIN
if (cmdwin_type != 0)
textwidth -= 1;
-#endif
#ifdef FEAT_FOLDING
textwidth -= curwin->w_p_fdc;
#endif