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

GitHub noreply at github.com
Thu Jul 5 01:49:36 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 41e757be9fc42da21f772c68a4c6877c135b810d
      https://github.com/wesnoth/wesnoth/commit/41e757be9fc42da21f772c68a4c6877c135b810d
  Author: Celtic Minstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2018-07-05 (Thu, 05 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