[wesnoth-commits] [wesnoth/wesnoth] 690e8f: Prevent deprecation message details from being on ...

Pentarctagon noreply at github.com
Wed Mar 31 17:02:26 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 690e8f01933584b4537cfb7009373d001bd95aec
      https://github.com/wesnoth/wesnoth/commit/690e8f01933584b4537cfb7009373d001bd95aec
  Author: Pentarctagon <pentarctagon at tutamail.com>
  Date:   2021-03-31 (Wed, 31 Mar 2021)

  Changed paths:
    M src/deprecation.cpp

  Log Message:
  -----------
  Prevent deprecation message details from being on a separate line.

The log handler does some kind of per-line sorting of these, so a single deprecation warning ends up with the detail line first and the message line second (line order reversed). When there are multiple deprecation messages, their detail lines and message lines get jumbled together.  This seems to be tied together with how it detects repeated instances of the exact same error/warning, so putting both the message and the detail on the same line is much simpler than tinkering with that.





More information about the Commits mailing list