projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d66a0
)
minor code improvement
author
Holger Schemel
<info@artsoft.org>
Mon, 19 Oct 2020 21:30:19 +0000
(23:30 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 13 Dec 2020 23:57:59 +0000
(
00:57
+0100)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index a5f249eef9e806895625ce487f99ce4320bb820f..7f4de2c74a8487ffb73c5dda0dc35b728f97e6fd 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-4097,9
+4097,7
@@
static void setTypeNameValues(char *name, struct TextPosInfo *pos,
pos->font = (node->color == FC_RED ? FONT_INPUT_1 : FONT_VALUE_OLD);
}
- if (!changed)
- return;
-
+ // if player name not changed, no further action required
if (strEqual(name, type_name_last))
return;