From: Holger Schemel Date: Mon, 19 Oct 2020 21:13:41 +0000 (+0200) Subject: changed font used for player name after typing X-Git-Tag: 4.2.1.0~26 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=2e1bd748afa43b5c0e363cbc5464cecfb13f9120;p=rocksndiamonds.git changed font used for player name after typing --- diff --git a/src/screens.c b/src/screens.c index 5bbe467e..268cbd0e 100644 --- a/src/screens.c +++ b/src/screens.c @@ -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)