mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-28 13:19:48 +01:00
trailing_zeros -> showpoint
This commit is contained in:
@@ -1106,7 +1106,7 @@ int snprintf_float(T value, int precision, float_specs specs,
|
||||
char format[max_format_size];
|
||||
char* format_ptr = format;
|
||||
*format_ptr++ = '%';
|
||||
if (specs.trailing_zeros) *format_ptr++ = '#';
|
||||
if (specs.showpoint) *format_ptr++ = '#';
|
||||
if (precision >= 0) {
|
||||
*format_ptr++ = '.';
|
||||
*format_ptr++ = '*';
|
||||
|
||||
Reference in New Issue
Block a user