diff options
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/kstd/include/kstd/bits/formatter.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/kstd/include/kstd/bits/formatter.hpp b/libs/kstd/include/kstd/bits/formatter.hpp index 229e76d..4d983f3 100644 --- a/libs/kstd/include/kstd/bits/formatter.hpp +++ b/libs/kstd/include/kstd/bits/formatter.hpp @@ -75,7 +75,7 @@ namespace kstd }(); auto buffer = std::array<char, maximum_digits>{}; - auto digits = (base == base::hex) ? "0123456789abcdef" : "0123456789"; + auto digits = (specs.type == 'X') ? "0123456789ABCDEF" : "0123456789abcdef"; auto current = buffer.rbegin(); if (absolute_value == 0) |
