Skip to content

Commit 1d76615

Browse files
committed
Use max username length of 30
1 parent d187720 commit 1d76615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/s25main/ingameWindows/iwLobbyConnect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ iwLobbyConnect::iwLobbyConnect()
5757

5858
AddText(ID_txtUser, curLblPos, _("Username:"), COLOR_YELLOW, FontStyle{}, NormalFont);
5959
ctrlEdit* user =
60-
AddEdit(ID_edtUser, DrawPoint(ctrlStartPos, curLblPos.y), edtSize, TextureColor::Green2, NormalFont);
60+
AddEdit(ID_edtUser, DrawPoint(ctrlStartPos, curLblPos.y), edtSize, TextureColor::Green2, NormalFont, 30);
6161
user->SetFocus();
6262
user->SetText(SETTINGS.lobby.name); //-V807
6363
curLblPos.y += 30;

0 commit comments

Comments
 (0)