Skip to content

Commit 0b05e49

Browse files
committed
patch 8.0.1144: using wrong #ifdef for computing length
Problem: Using wrong #ifdef for computing length. Solution: use BACKSLASH_IN_FILENAME instead of COLON_IN_FILENAME. (Yasuhiro Matsomoto, closes #2153)
1 parent e0de17d commit 0b05e49

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/quickfix.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@ parse_efm_option(char_u *efm)
443443
i = (FMT_PATTERNS * 3) + ((int)STRLEN(efm) << 2);
444444
for (round = FMT_PATTERNS; round > 0; )
445445
i += (int)STRLEN(fmt_pat[--round].pattern);
446-
#ifdef COLON_IN_FILENAME
447-
i += 12; /* "%f" can become twelve chars longer */
446+
#ifdef BACKSLASH_IN_FILENAME
447+
i += 12; /* "%f" can become twelve chars longer (see efm_to_regpat) */
448448
#else
449449
i += 2; /* "%f" can become two chars longer */
450450
#endif

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1144,
764766
/**/
765767
1143,
766768
/**/

0 commit comments

Comments
 (0)