diff options
author | dundargoc <gocdundar@gmail.com> | 2023-09-17 16:58:22 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-09-17 16:58:22 +0200 |
commit | 0483e49f90d85f5172f2050426913ac718f1c176 (patch) | |
tree | 12a75702fef44b0df0a5aec50aba0ab7d55f4079 /src | |
parent | e6059c321b384d35493b4f8038756585d6249357 (diff) |
patch 9.0.1905: FEAT_FLOAT no longer definedv9.0.1905
Problem: FEAT_FLOAT no longer defined
Solution: Remove last existing FEAT_FLOAT ifdefs in
message_test
Remove FEAT_FLOAT as that should always be true
FEAT_FLOAT has been removed in v9.0.0491 (73e28dcc6125f616cf1f2) but
unfortunately, it was forgotten to remove it from message_test.c. So
let's remove the last mentioned ifdefs which are now unused.
closes: #13106
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: dundargoc <gocdundar@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/message_test.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/message_test.c b/src/message_test.c index 4d5288937d..62f7772470 100644 --- a/src/message_test.c +++ b/src/message_test.c @@ -225,7 +225,6 @@ test_vim_snprintf(void) assert(bsize == 0 || STRNCMP(buf, "one two", bsize_int) == 0); assert(bsize == 0 || buf[MIN(n, bsize_int)] == '\0'); -#ifdef FEAT_FLOAT n = vim_snprintf(buf, bsize, "%f", 1.234); assert(n == 8); assert(bsize == 0 || STRNCMP(buf, "1.234000", bsize_int) == 0); @@ -255,7 +254,6 @@ test_vim_snprintf(void) assert(n == 9); assert(bsize == 0 || STRNCMP(buf, "-0.000000", bsize_int) == 0); assert(bsize == 0 || buf[MIN(n, bsize_int)] == '\0'); -#endif n = vim_snprintf(buf, bsize, "%s", "漢語"); assert(n == 6); diff --git a/src/version.c b/src/version.c index 76f462eda3..c9e2e2cc6b 100644 --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1905, +/**/ 1904, /**/ 1903, |