[Commits] [wesnoth/wesnoth] d1053a: Fixed an issue with the short era name in the new ...

GitHub noreply at github.com
Thu Sep 22 19:11:54 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d1053abe7195e717ca6eaebd88a5356819ee7575
      https://github.com/wesnoth/wesnoth/commit/d1053abe7195e717ca6eaebd88a5356819ee7575
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M src/gui/dialogs/lobby/data.cpp

  Log Message:
  -----------
  Fixed an issue with the short era name in the new lobby

Before this, it looks like one of the two usecases of make_short_name would produce incorrect
output by the string parsing starting at index 1 instead of 0. This resolves that and removes
the preceding '?' character in the case of an unknown era, since that's already specified in the
name.





More information about the Commits mailing list