From 4613d2b5d1b3a642a89f00928999d9dc40b4df0a Mon Sep 17 00:00:00 2001 From: xezon <4720891+xezon@users.noreply.github.com> Date: Sat, 7 Jun 2025 12:08:33 +0200 Subject: [PATCH] [GEN][ZH] Fix broken List Box when it contains tall rows --- Generals/Code/GameEngine/Include/GameClient/Gadget.h | 2 +- GeneralsMD/Code/GameEngine/Include/GameClient/Gadget.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Generals/Code/GameEngine/Include/GameClient/Gadget.h b/Generals/Code/GameEngine/Include/GameClient/Gadget.h index 397204c7834..4cd6f719696 100644 --- a/Generals/Code/GameEngine/Include/GameClient/Gadget.h +++ b/Generals/Code/GameEngine/Include/GameClient/Gadget.h @@ -333,7 +333,7 @@ typedef struct _ListEntryRow // The following fields are for internal use and // should not be initialized by the user Int listHeight; // calculated total Height at the bottom of this entry - Byte height; // Maintain the height of the row + Int height; // Maintain the height of the row ListEntryCell *cell; // Holds the array of ListEntry Cells } ListEntryRow; diff --git a/GeneralsMD/Code/GameEngine/Include/GameClient/Gadget.h b/GeneralsMD/Code/GameEngine/Include/GameClient/Gadget.h index e8e0d48560c..a5067d50a75 100644 --- a/GeneralsMD/Code/GameEngine/Include/GameClient/Gadget.h +++ b/GeneralsMD/Code/GameEngine/Include/GameClient/Gadget.h @@ -336,7 +336,7 @@ typedef struct _ListEntryRow // The following fields are for internal use and // should not be initialized by the user Int listHeight; // calculated total Height at the bottom of this entry - Byte height; // Maintain the height of the row + Int height; // Maintain the height of the row ListEntryCell *cell; // Holds the array of ListEntry Cells } ListEntryRow;