1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-13 07:46:00 +00:00

fixed hex color parsing

This commit is contained in:
Zeno Rogue
2024-05-27 12:29:37 +02:00
parent 83575d9d7d
commit f823a53f84
3 changed files with 12 additions and 3 deletions

View File

@@ -36,6 +36,7 @@ EX string s0;
EX string its(int i) { return hr::format("%d", i); }
EX string itsh8(int i) { return hr::format("%08X", i); }
EX string itsh6(int i) { return hr::format("%06X", i); }
EX string fts(ld x, int prec IS(6)) {
std::stringstream ss;