[wesnoth-commits] [wesnoth/wesnoth] 4ad276: For a [message] with options, zero-initialise the ...

Steve Cotton noreply at github.com
Mon Oct 25 12:12:48 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4ad2760cd81deb71c4ac84ae752b22639703b752
      https://github.com/wesnoth/wesnoth/commit/4ad2760cd81deb71c4ac84ae752b22639703b752
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-10-25 (Mon, 25 Oct 2021)

  Changed paths:
    M src/scripting/lua_gui2.cpp

  Log Message:
  -----------
  For a [message] with options, zero-initialise the default selection int (#6221)

I can't reproduce the issue (it selects the first option by default for me even
without this), but this probably fixes #6038 "When you have a long list of
[message][option], it will default to highlighting the 3rd entry for some
reason."

(this is the equivalent of 1.16's commit 219f2c8f02215a1257ed4ac2a379b5833194f0ef)





More information about the Commits mailing list