[Commits] [wesnoth/wesnoth] 87c492: don't load null hotkeys

GitHub noreply at github.com
Mon May 19 17:57:59 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 87c492e0a199140108da1bacc4ef530952fecd34
      https://github.com/wesnoth/wesnoth/commit/87c492e0a199140108da1bacc4ef530952fecd34
  Author: gfgtdf <tischpapier at gmail.com>
  Date:   2014-05-19 (Mon, 19 May 2014)

  Changed paths:
    M src/hotkey/hotkey_item.cpp

  Log Message:
  -----------
  don't load null hotkeys

this prevents a possible segfault because otherwise add_hotkey calls hotkey::set_scope_active(new_scope) where new_scope is SCOPE_COUNT.





More information about the Commits mailing list