diff --git a/libs/libc/stdio/lib_libvsprintf.c b/libs/libc/stdio/lib_libvsprintf.c index b0f8b74e7f1..f3904e505b0 100644 --- a/libs/libc/stdio/lib_libvsprintf.c +++ b/libs/libc/stdio/lib_libvsprintf.c @@ -816,11 +816,6 @@ flt_oper: if (--n < -prec) { - if ((flags & FL_ALT) != 0 && n == -1) - { - stream_putc('.', stream); - } - break; } @@ -835,6 +830,11 @@ flt_oper: } stream_putc(out, stream); + + if ((flags & FL_ALT) != 0 && n == -1) + { + stream_putc('.', stream); + } } else {