From b93db04a1de58553d370827846a3dc5fb8ecd351 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 6 Dec 2006 16:28:27 +0000 Subject: [PATCH] move handling of 'F' to the top --- ext/standard/formatted_print.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/standard/formatted_print.c b/ext/standard/formatted_print.c index 567655e954..9d097b8a8e 100644 --- a/ext/standard/formatted_print.c +++ b/ext/standard/formatted_print.c @@ -222,14 +222,14 @@ php_sprintf_appenddouble(char **buffer, int *pos, return; } - switch (fmt) { + switch (fmt) { + case 'F': + fmt = 'f'; + /* break is missing */ case 'e': if (precision) { precision--; } - case 'F': - fmt = 'f'; - /* break is missing */ case 'E': case 'f': s = ap_php_conv_fp(fmt, number, 0, precision, -- 2.50.1