changed font used for player name after typing
authorHolger Schemel <info@artsoft.org>
Mon, 19 Oct 2020 21:13:41 +0000 (23:13 +0200)
committerHolger Schemel <info@artsoft.org>
Sun, 13 Dec 2020 23:57:58 +0000 (00:57 +0100)
src/screens.c

index 5bbe467ef211387f4651ea1647b7b05ea69fbd02..268cbd0e0b0e08254742dbe4817d4c147f73b438 100644 (file)
@@ -4075,7 +4075,7 @@ static void setTypeNameValues(char *name, struct TextPosInfo *pos,
     if (success)
       node->color = (strEqual(name, EMPTY_PLAYER_NAME) ? FC_BLUE : FC_RED);
 
-    pos->font = FONT_TEXT_1 + node->color;
+    pos->font = (node->color == FC_RED ? FONT_INPUT_1 : FONT_VALUE_OLD);
   }
 
   if (!success)