Skip to content

Commit 1d8109f

Browse files
authored
[GEN][ZH] Fix broken List Box when it contains tall rows (#1023)
1 parent b81f1b0 commit 1d8109f

File tree

2 files changed

+2
-2
lines changed
  • GeneralsMD/Code/GameEngine/Include/GameClient
  • Generals/Code/GameEngine/Include/GameClient

2 files changed

+2
-2
lines changed

Generals/Code/GameEngine/Include/GameClient/Gadget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ typedef struct _ListEntryRow
333333
// The following fields are for internal use and
334334
// should not be initialized by the user
335335
Int listHeight; // calculated total Height at the bottom of this entry
336-
Byte height; // Maintain the height of the row
336+
Int height; // Maintain the height of the row
337337
ListEntryCell *cell; // Holds the array of ListEntry Cells
338338

339339
} ListEntryRow;

GeneralsMD/Code/GameEngine/Include/GameClient/Gadget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ typedef struct _ListEntryRow
336336
// The following fields are for internal use and
337337
// should not be initialized by the user
338338
Int listHeight; // calculated total Height at the bottom of this entry
339-
Byte height; // Maintain the height of the row
339+
Int height; // Maintain the height of the row
340340
ListEntryCell *cell; // Holds the array of ListEntry Cells
341341

342342
} ListEntryRow;

0 commit comments

Comments
 (0)