mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-28 13:19:48 +01:00
Fix handling of the + flag with locales (#2133)
This commit is contained in:
@@ -1810,7 +1810,7 @@ template <typename OutputIt, typename Char, typename UInt> struct int_writer {
|
||||
p -= s.size();
|
||||
}
|
||||
*p-- = static_cast<Char>(*digits);
|
||||
if (prefix_size != 0) *p = static_cast<Char>('-');
|
||||
if (prefix_size != 0) *p = static_cast<Char>(prefix[0]);
|
||||
auto data = buffer.data();
|
||||
out = write_padded<align::right>(
|
||||
out, specs, usize, usize,
|
||||
|
||||
Reference in New Issue
Block a user