[Commits] [wesnoth/wesnoth] eeaba6: Fix bug #25410: Missing mouse input events

GitHub noreply at github.com
Tue Jan 3 18:29:50 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: eeaba62fd434be82f6383164a5f2fcc50e8921e4
      https://github.com/wesnoth/wesnoth/commit/eeaba62fd434be82f6383164a5f2fcc50e8921e4
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-01-03 (Tue, 03 Jan 2017)

  Changed paths:
    M src/events.cpp

  Log Message:
  -----------
  Fix bug #25410: Missing mouse input events

`std::remove_if()` is not guaranteed to work by swapping the
to-be-removed items with others.

Thanks to @AI0867 for showing the error in my ways^H code.





More information about the Commits mailing list