1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-14 15:02:38 +00:00

progressbar fix

This commit is contained in:
Zeno Rogue
2025-12-05 11:11:27 +01:00
parent 7fb8c25483
commit 6a1fa82c58

View File

@@ -596,7 +596,7 @@ struct progressbar : indenter_finish {
fprintf(stderr, "\x1b[K");
}
progressbar(int t, string n) : indenter_finish(n) { hlog.indentation -= 2; println(hlog, name); hlog.indentation += 2; total = t; (*this)++; }
progressbar(int t, string n) : indenter_finish(n), name(n) { hlog.indentation -= 2; hlog.indentation += 2; total = t; (*this)++; }
};
#endif