From c26dd35c76e671bd566c709510aa97deb1bf1192 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Thu, 19 Dec 2002 19:56:31 +0000 Subject: merge from 2.2 actually print args for %g and %e (This used to be commit 47a0ba53fdf52fb4d269b1ff95491e73e47423be) --- source3/lib/snprintf.c | 2 ++ 1 file changed, 2 insertions(+) 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