[Commits] [wesnoth/wesnoth] e0b071: fixup enum cast error reporting

GitHub noreply at github.com
Sun May 25 13:57:36 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e0b0716d2a79485f0c422b0f1aa6aa340990f91a
      https://github.com/wesnoth/wesnoth/commit/e0b0716d2a79485f0c422b0f1aa6aa340990f91a
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-05-25 (Sun, 25 May 2014)

  Changed paths:
    M src/make_enum.hpp

  Log Message:
  -----------
  fixup enum cast error reporting

Only do this when the value is that triggered the fault is nonempty,
otherwise you get a fault even when the attribute does not appear
in the user generated config -- in that case should silently take
the default.

fixes up 986a87228786f7034b999b06fafb46d6700d3848





More information about the Commits mailing list