From 5ecfd77b075d8531e072a8c5123022b32c5f0dbe Mon Sep 17 00:00:00 2001 From: stm <14291421+stephanmeesters@users.noreply.github.com> Date: Mon, 9 Feb 2026 22:34:16 +0100 Subject: [PATCH] bugfix: Lobby hangs when scrolling the map list with arrow keys --- Generals/Code/GameEngine/Include/GameClient/Gadget.h | 4 ++-- GeneralsMD/Code/GameEngine/Include/GameClient/Gadget.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Generals/Code/GameEngine/Include/GameClient/Gadget.h b/Generals/Code/GameEngine/Include/GameClient/Gadget.h index bea4f209651..75290afe673 100644 --- a/Generals/Code/GameEngine/Include/GameClient/Gadget.h +++ b/Generals/Code/GameEngine/Include/GameClient/Gadget.h @@ -371,11 +371,11 @@ typedef struct _ListboxData Int selectPos; // Position of current selected entry (for SINGLE select) Int *selections; // Pointer to array of selections (for MULTI select) - Short displayHeight; // Height in pixels of listbox display region + Int displayHeight; // Height in pixels of listbox display region // this is computed based on the existence // of a title or not. UnsignedInt doubleClickTime; // - Short displayPos; // Position of current display entry in pixels + Int displayPos; // Position of current display entry in pixels } ListboxData; diff --git a/GeneralsMD/Code/GameEngine/Include/GameClient/Gadget.h b/GeneralsMD/Code/GameEngine/Include/GameClient/Gadget.h index f7766ebbef2..e6b887b3e87 100644 --- a/GeneralsMD/Code/GameEngine/Include/GameClient/Gadget.h +++ b/GeneralsMD/Code/GameEngine/Include/GameClient/Gadget.h @@ -374,11 +374,11 @@ typedef struct _ListboxData Int selectPos; // Position of current selected entry (for SINGLE select) Int *selections; // Pointer to array of selections (for MULTI select) - Short displayHeight; // Height in pixels of listbox display region + Int displayHeight; // Height in pixels of listbox display region // this is computed based on the existence // of a title or not. UnsignedInt doubleClickTime; // - Short displayPos; // Position of current display entry in pixels + Int displayPos; // Position of current display entry in pixels } ListboxData;