http://bugs.winehq.org/show_bug.cgi?id=3646
Summary: Incorrect formatting of floating-point values via *printf if precision = 0 Product: Wine Version: 20050725 Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P3 Component: wine-winelib AssignedTo: wine-bugs@winehq.org ReportedBy: e-aksenov@yandex.ru
*printf family funtions from msvcrt.dll ignores zero precision in the format For example, for valule = 0.123456 and printf( "%0f", val ) Expected result: 0, real result: 0.123456
dlls/msvcrt/wcs.c ( pf_rebuild_format_string(), line 382 )