[wesnoth-commits] [wesnoth/wesnoth] 414160: Restore 3-significant-digit si_string (closes #3871)
Alexander van Gessel
noreply at github.com
Fri Jun 21 21:09:27 UTC 2019
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 414160263df2e0919095fb7949436817ea4645f2
https://github.com/wesnoth/wesnoth/commit/414160263df2e0919095fb7949436817ea4645f2
Author: Alexander van Gessel <ai0867 at gmail.com>
Date: 2019-06-11 (Tue, 11 Jun 2019)
Changed paths:
M src/serialization/string_utils.cpp
Log Message:
-----------
Restore 3-significant-digit si_string (closes #3871)
Behaviour for MSVC remains the same (fixed with 1 decimal).
Fix a corner-case where [999.5, 1000) would not trigger 4-digit precision,
but would be rounded to 1000 during printing, resulting in 1e+3.
Commit: c0191a5a165995bc49e73ea19281c2cab780ee0d
https://github.com/wesnoth/wesnoth/commit/c0191a5a165995bc49e73ea19281c2cab780ee0d
Author: Alexander van Gessel <AI0867 at gmail.com>
Date: 2019-06-21 (Fri, 21 Jun 2019)
Changed paths:
M src/serialization/string_utils.cpp
Log Message:
-----------
Merge pull request #4112 from AI0867/si_string-default-format
Restore 3-significant-digit si_string (closes #3871)
Compare: https://github.com/wesnoth/wesnoth/compare/4830028142df...c0191a5a1659
More information about the Commits
mailing list