projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46117e2
)
changed font used for player name after typing
author
Holger Schemel
<info@artsoft.org>
Mon, 19 Oct 2020 21:13:41 +0000
(23:13 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 13 Dec 2020 23:57:58 +0000
(
00:57
+0100)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index 5bbe467ef211387f4651ea1647b7b05ea69fbd02..268cbd0e0b0e08254742dbe4817d4c147f73b438 100644
(file)
--- 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)