[wesnoth-commits] [wesnoth/wesnoth] 021ce7: Fix incorrect formatting of probabilities in the s...

GitHub noreply at github.com
Wed Jul 4 02:16:04 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 021ce76dca0013a18237ec23848f797dcb14bc0c
      https://github.com/wesnoth/wesnoth/commit/021ce76dca0013a18237ec23848f797dcb14bc0c
  Author: Celtic Minstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2018-07-03 (Tue, 03 Jul 2018)

  Changed paths:
    M src/reports.cpp

  Log Message:
  -----------
  Fix incorrect formatting of probabilities in the sidebar

This resulted from an incorrect use of std::setprecision, which sets the number of significant figures to display, not the number of decimal places.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list