fixed setting text size for clearing input on name selection screen
authorHolger Schemel <info@artsoft.org>
Mon, 9 May 2022 21:53:08 +0000 (23:53 +0200)
committerHolger Schemel <info@artsoft.org>
Mon, 9 May 2022 21:53:23 +0000 (23:53 +0200)
src/screens.c

index df5fe4722f3751340a8053bc50a5be9189d9a306..43212e185991dd038c6ee3e8cda27e5c5924b0c0 100644 (file)
@@ -5165,6 +5165,9 @@ void DrawChoosePlayerName(void)
   if (player_name_current == NULL)
     player_name_current = player_name;
 
+  // set text size for main name input (also used on name selection screen)
+  InitializeMainControls();
+
   DrawChooseTree(&player_name_current);
 }