From d81a04b410636ad206fe4ae0970e148d9ef13f84 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Thu, 19 Dec 2002 19:57:37 +0000 Subject: merge from 2.2 actually print args for %g and %e (This used to be commit 077c515ee9d9976a5306c9f99a7bf45c8fc49dc9) --- source3/lib/snprintf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') diff --git a/source3/lib/snprintf.c b/source3/lib/snprintf.c index cd1e63ce59..1eae2f09b9 100644 --- a/source3/lib/snprintf.c +++ b/source3/lib/snprintf.c @@ -341,6 +341,7 @@ static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args fvalue = va_arg (args, LDOUBLE); else fvalue = va_arg (args, double); + fmtfp (buffer, &currlen, maxlen, fvalue, min, max, flags); break; case 'G': flags |= DP_F_UP; @@ -349,6 +350,7 @@ static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args fvalue = va_arg (args, LDOUBLE); else fvalue = va_arg (args, double); + fmtfp (buffer, &currlen, maxlen, fvalue, min, max, flags); break; case 'c': dopr_outch (buffer, &currlen, maxlen, va_arg (args, int)); -- cgit