Update of bug #22261 (project wesnoth):
Assigned to: shadowmaster => ai0867
_______________________________________________________
Follow-up Comment #1:
Assigning to AI0867, since he wrote utils::si_string(). The underlying cause
probably is a call with the following parameters:
utils::si_string(-1, true, _("unit_byte^B"));
Here, this yields "-1.21e+24 yiB" somehow, which is equivalent to -1.21 B. I
don't know why the numbers were different for iceiceice, seeing as how the
parameter is actually a call to filesystem::dir_size(), which only returns one
possible negative value (-1) to signify an error condition in the
Boost.filesystem-based implementation.
I'm going to change the utils::si_string() caller
(gui2::tgame_cache_options::update_cache_size_display()) to handle this border
case correctly, so do not rely on it to reproduce the bug.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?22261>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs