Skip to content

Commit 937204a

Browse files
committed
patch 7.4.1219
Problem: Build fails with +channel but without +float. Solution: Add #ifdef.
1 parent 779a775 commit 937204a

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/ex_cmds.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,11 @@ ex_sort(exarg_T *eap)
520520
if (regmatch.regprog != NULL)
521521
end_col = 0;
522522

523-
if (sort_nr || sort_flt)
523+
if (sort_nr
524+
#ifdef FEAT_FLOAT
525+
|| sort_flt
526+
#endif
527+
)
524528
{
525529
/* Make sure vim_str2nr doesn't read any digits past the end
526530
* of the match, by temporarily terminating the string there */

src/version.c

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

747747
static int included_patches[] =
748748
{ /* Add new patch number below this line */
749+
/**/
750+
1219,
749751
/**/
750752
1218,
751753
/**/

0 commit comments

Comments
 (0)