[Commits] [wesnoth/wesnoth] f35d2d: Misleading comment

GitHub noreply at github.com
Thu Dec 28 20:27:31 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f35d2d892de22681a6b29f2ae33c44ff95bcb178
      https://github.com/wesnoth/wesnoth/commit/f35d2d892de22681a6b29f2ae33c44ff95bcb178
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2017-12-28 (Thu, 28 Dec 2017)

  Changed paths:
    M src/utils/math.hpp

  Log Message:
  -----------
  Misleading comment

'toward zero' is confusing since it can round up or down.

The correct comment is 'round half up, to the nearest integer'.

Closes #2330





More information about the Commits mailing list