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

Steve Cotton noreply at github.com
Sat Oct 23 16:17:44 UTC 2021


  Branch: refs/heads/1.16
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 219f2c8f02215a1257ed4ac2a379b5833194f0ef
      https://github.com/wesnoth/wesnoth/commit/219f2c8f02215a1257ed4ac2a379b5833194f0ef
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-10-23 (Sat, 23 Oct 2021)

  Changed paths:
    M src/scripting/lua_gui2.cpp

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

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."





More information about the Commits mailing list