diff options
Diffstat (limited to 'src/nvim/strings.c')
-rw-r--r-- | src/nvim/strings.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/nvim/strings.c b/src/nvim/strings.c index 169909ea56..2a5777a774 100644 --- a/src/nvim/strings.c +++ b/src/nvim/strings.c @@ -1358,9 +1358,13 @@ int vim_vsnprintf_typval(char *str, size_t str_m, const char *fmt, va_list ap_st assert(n <= SIZE_MAX - str_l); str_l += n; } else { - size_t min_field_width = 0, precision = 0; - int zero_padding = 0, precision_specified = 0, justify_left = 0; - int alternate_form = 0, force_sign = 0; + size_t min_field_width = 0; + size_t precision = 0; + int zero_padding = 0; + int precision_specified = 0; + int justify_left = 0; + int alternate_form = 0; + int force_sign = 0; // if both ' ' and '+' flags appear, ' ' flag should be ignored int space_for_positive = 1; |