]> granicus.if.org Git - php/commitdiff
fix #36392 in Unicode mode
authorAntony Dovgal <tony2001@php.net>
Mon, 25 Dec 2006 11:15:08 +0000 (11:15 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 25 Dec 2006 11:15:08 +0000 (11:15 +0000)
ext/standard/formatted_print.c

index 11ea8454e1b3e7246579ac2ff818870116041d54..c3882aaf40d359dd42d736b0ad8663c2b33cc6bd 100644 (file)
@@ -482,9 +482,6 @@ php_u_sprintf_appenddouble(UChar **buffer, int *pos,
 
        switch (fmt) {          
                case 0x65 /* 'e' */:
-                       if (precision) {
-                               precision--;
-                       }
                case 0x45 /* 'E' */:
                case 0x46 /* 'F' */:
                case 0x66 /* 'f' */: