aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2014-12-08 02:57:21 -0500
committerMichael Reed <m.reed@mykolab.com>2014-12-09 19:25:03 -0500
commit33b459b6724bd252c170b22e18a020d886791076 (patch)
treebfdbd59018c2595405a8a0f982778c79d5d0d8b0
parent3969823759a7f4aac30d6ce279e83290e61f0acc (diff)
downloadrneovim-33b459b6724bd252c170b22e18a020d886791076.tar.gz
rneovim-33b459b6724bd252c170b22e18a020d886791076.tar.bz2
rneovim-33b459b6724bd252c170b22e18a020d886791076.zip
docs: Remove VAX remnants
-rw-r--r--src/nvim/message.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 5832b2e7cb..808253d33c 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -3624,13 +3624,7 @@ int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs)
remove_trailing_zeroes = TRUE;
}
- if (fmt_spec == 'f' &&
-#ifdef VAX
- abs_f > 1.0e38
-#else
- abs_f > 1.0e307
-#endif
- ) {
+ if (fmt_spec == 'f' && abs_f > 1.0e307) {
/* Avoid a buffer overflow */
strcpy(tmp, "inf");
str_arg_l = 3;