You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Merge pull request #98582 from bruvzg/win_btn_count
Remove button number limit from Windows `dialog_show()` implementation.
This commit is contained in:
@@ -2765,7 +2765,7 @@ Error DisplayServerWindows::dialog_show(String p_title, String p_description, Ve
|
||||
config.pszWindowTitle = (LPCWSTR)(title.get_data());
|
||||
config.pszContent = (LPCWSTR)(message.get_data());
|
||||
|
||||
const int button_count = MIN((int)buttons.size(), 8);
|
||||
const int button_count = buttons.size();
|
||||
config.cButtons = button_count;
|
||||
|
||||
// No dynamic stack array size :(
|
||||
|
||||
Reference in New Issue
Block a user