Skip to content

Commit 6b0bbeb

Browse files
authored
Merge pull request #482 from MrS-ibra/feat/mask-ip-address-options-menu
feat(optionsmenu): Mask IP address display in Options Menu
2 parents 1306d80 + 7ffa189 commit 6b0bbeb

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus

GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,12 @@ void OptionsMenuInit( WindowLayout *layout, void *userData )
11061106
}
11071107
}
11081108

1109+
if (comboBoxLANIP)
1110+
GadgetComboBoxSetText(comboBoxLANIP, L"***.***.***.***");
1111+
1112+
if (comboBoxOnlineIP)
1113+
GadgetComboBoxSetText(comboBoxOnlineIP, L"***.***.***.***");
1114+
11091115
// HTTP Proxy
11101116
GameWindow *textEntryHTTPProxy = TheWindowManager->winGetWindowFromId(nullptr, NAMEKEY("OptionsMenu.wnd:TextEntryHTTPProxy"));
11111117
if (textEntryHTTPProxy)

0 commit comments

Comments
 (0)