We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0ed4b5 commit 53e0ad6Copy full SHA for 53e0ad6
1 file changed
GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/ReplayMenu.cpp
@@ -393,7 +393,8 @@ void ReplayMenuInit( WindowLayout *layout, void *userData )
393
DEBUG_ASSERTCRASH(list && list->columns >= 3 && list->columnWidth[1] < list->columnWidth[2],
394
("Original replay window is expected to have at least 3 columns, and the second column width smaller than the third"));
395
396
- std::swap(list->columnWidth[1], list->columnWidth[2]);
+ if (list->columnWidth[1] < list->columnWidth[2])
397
+ std::swap(list->columnWidth[1], list->columnWidth[2]);
398
#endif
399
400
//Load the listbox shiznit
0 commit comments