Commit: patch 9.1.1716: wrong indent in win_line()

2 views
Skip to first unread message

Christian Brabandt

unread,
Aug 31, 2025, 1:15:13 PMAug 31
to vim...@googlegroups.com
patch 9.1.1716: wrong indent in win_line()

Commit: https://github.com/vim/vim/commit/68f681c6ab40e2565b4d94c03918ef1a40d60ebe
Author: glepnir <gleph...@gmail.com>
Date: Sun Aug 31 19:01:39 2025 +0200

patch 9.1.1716: wrong indent in win_line()

Problem: The code inside an ifdef was indented incorrectly.
Solution: Adjusted the indentation by one level (glepnir).

closes: #18174

Signed-off-by: glepnir <gleph...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/drawline.c b/src/drawline.c
index 3e6958e00..497ba5b85 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -3481,9 +3481,10 @@ win_line(
wlv.extra_attr = hl_combine_attr(wlv.win_attr,
HL_ATTR(HLF_8));
#ifdef FEAT_PROP_POPUP
- if (text_prop_type != NULL &&
- text_prop_flags & PT_FLAG_OVERRIDE)
- wlv.extra_attr = hl_combine_attr(text_prop_attr, wlv.extra_attr);
+ if (text_prop_type != NULL &&
+ text_prop_flags & PT_FLAG_OVERRIDE)
+ wlv.extra_attr = hl_combine_attr(text_prop_attr,
+ wlv.extra_attr);
#endif

saved_attr2 = wlv.char_attr; // save current attr
diff --git a/src/version.c b/src/version.c
index b700067fc..2d6aa5758 100644
--- a/src/version.c
+++ b/src/version.c
@@ -724,6 +724,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1716,
/**/
1715,
/**/
Reply all
Reply to author
Forward
0 new messages