[Commits] [wesnoth/wesnoth] c98f3e: Correct handling of Ctrl+Return/Enter hot-key.

GitHub noreply at github.com
Wed Aug 19 04:45:41 UTC 2015


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c98f3e029d243a4bd47c33df74be02f03141215c
      https://github.com/wesnoth/wesnoth/commit/c98f3e029d243a4bd47c33df74be02f03141215c
  Author: Wedge009 <wedge009 at wedge009.net>
  Date:   2015-08-17 (Mon, 17 Aug 2015)

  Changed paths:
    M src/hotkey/hotkey_item.cpp

  Log Message:
  -----------
  Correct handling of Ctrl+Return/Enter hot-key.

Added special handling for j and m characters, where their respective key codes do not match the j and m buttons on the keyboard.
This most likely means that they have come from Ctrl+Return/Enter keys, which resolves to Ctrl+j and Ctrl+m characters.

As a bonus, also corrected unexpected behaviour when attempting combinations such as Ctrl+: or Ctrl+F1. Previously they would resolve to Ctrl+` or Ctrl+@, at least in Windows.


  Commit: b7e172994fbd84f4896cea93db3a7bee74362ca1
      https://github.com/wesnoth/wesnoth/commit/b7e172994fbd84f4896cea93db3a7bee74362ca1
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-08-19 (Wed, 19 Aug 2015)

  Changed paths:
    M changelog
    M src/unit.cpp

  Log Message:
  -----------
  Fix unit [resistance] and [jamming_costs] not being used in sync checks

The typo this commit fixes would direct the game to a non-existent (and
invalid) [jamming_costs resistance] tag instead.

Reported by reluctant_deity on Reddit.


Compare: https://github.com/wesnoth/wesnoth/compare/1e62a4e6b038...b7e172994fbd


More information about the Commits mailing list