patch 9.0.2100: CI: test_termdebug fails
Problem: CI: test_termdebug fails
Solution: only test for a changed winlayout, if the window
width actually changed
Also, include an unrelated comment (which doesn't warrant its own patch
number)
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/textformat.c b/src/textformat.c
index afa94d8..a1a3e16 100644
--- a/src/textformat.c
+++ b/src/textformat.c
@@ -989,7 +989,7 @@
// length of a line to force formatting: 3 * 'tw'
max_len = comp_textwidth(TRUE) * 3;
- // check for 'q', '2' and '1' in 'formatoptions'
+ // check for 'q', '2', 'n' and 'w' in 'formatoptions'
do_comments = has_format_option(FO_Q_COMS);
do_second_indent = has_format_option(FO_Q_SECOND);
do_number_indent = has_format_option(FO_Q_NUMBER);