[Commits] [wesnoth/wesnoth] 7b2fb5: Small cleanup to preferences::resolution()

GitHub noreply at github.com
Sun Jan 3 08:58:20 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7b2fb55458377934ca9ceeee46c56b6c45fb06d6
      https://github.com/wesnoth/wesnoth/commit/7b2fb55458377934ca9ceeee46c56b6c45fb06d6
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-01-03 (Sun, 03 Jan 2016)

  Changed paths:
    M src/preferences.cpp

  Log Message:
  -----------
  Small cleanup to preferences::resolution()


  Commit: 8b31cc0b31a2b1a84b36d2838eb90d767f7c8d18
      https://github.com/wesnoth/wesnoth/commit/8b31cc0b31a2b1a84b36d2838eb90d767f7c8d18
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-01-03 (Sun, 03 Jan 2016)

  Changed paths:
    M src/preferences.cpp

  Log Message:
  -----------
  Use getter method instead of static variable for color cursors

I added an #if block to make the default return value true in SDL2,
since the plan is to enable them by default once SDL1.2 is dropped.


Compare: https://github.com/wesnoth/wesnoth/compare/ba51524f6eb8...8b31cc0b31a2


More information about the Commits mailing list