aboutsummaryrefslogtreecommitdiffstats
path: root/vsnprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'vsnprintf.c')
-rw-r--r--vsnprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vsnprintf.c b/vsnprintf.c
index c0853389c6..1f4172efb8 100644
--- a/vsnprintf.c
+++ b/vsnprintf.c
@@ -784,6 +784,7 @@ reswitch: switch (ch) {
#ifdef FLOATING_POINT
case 'a':
case 'A':
+ flags &= ~ALT;
if (prec >= 0)
prec++;
goto fp_begin;