commit | 937204a9175d0fe2f13c8bc4ebeb043003d7e7d7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jan 30 23:37:38 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jan 30 23:37:38 2016 +0100 |
tree | 7127f5e25cc3740a39ed53e66ac8238afd48f346 | |
parent | 779a7759ad03e6a3fb616828793512644390655a [diff] [blame] |
patch 7.4.1219 Problem: Build fails with +channel but without +float. Solution: Add #ifdef.
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 9b2a193..ba3efac 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c
@@ -520,7 +520,11 @@ if (regmatch.regprog != NULL) end_col = 0; - if (sort_nr || sort_flt) + if (sort_nr +#ifdef FEAT_FLOAT + || sort_flt +#endif + ) { /* Make sure vim_str2nr doesn't read any digits past the end * of the match, by temporarily terminating the string there */