Fix: Maximum length for text input

This commit is contained in:
Charles Lohr
2005-03-26 19:55:22 +00:00
parent 6016f34983
commit 1adfcab82a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ void ScreenNetworkOptions::MenuStart( PlayerNumber pn, const InputEventType type
case PO_CONNECTION: case PO_CONNECTION:
if ( !NSMAN->useSMserver ) if ( !NSMAN->useSMserver )
{ {
SCREENMAN->TextEntry( SM_DoneConnecting, "Enter a Network Address\n127.0.0.1 to connect to yourself", g_sLastServer, 15 ); SCREENMAN->TextEntry( SM_DoneConnecting, "Enter a Network Address\n127.0.0.1 to connect to yourself", g_sLastServer, 128 );
} }
else else
{ {
+1 -1
View File
@@ -196,7 +196,7 @@ void ScreenProfileOptions::MenuStart( PlayerNumber pn, const InputEventType type
switch( GetCurrentRow() ) switch( GetCurrentRow() )
{ {
case PO_CREATE_NEW: case PO_CREATE_NEW:
SCREENMAN->TextEntry( SM_DoneCreating, "Enter a profile name", "", NULL ); SCREENMAN->TextEntry( SM_DoneCreating, "Enter a profile name", "", 12 );
break; break;
case PO_DELETE_: case PO_DELETE_:
{ {