aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@o2.pl>2014-06-27 20:16:37 +0200
committerRealBadAngel <maciej.kasatkin@o2.pl>2014-06-27 20:16:37 +0200
commited2c8ba9c5d1a80cefe20bd75660536d9a0dd0f5 (patch)
tree9a359859cd25717aa955b6ae00fbf71ffd1d1acc
parent13517fb726bd60dceae4fc414d93e5dc9d9daef8 (diff)
downloadminetest-ed2c8ba9c5d1a80cefe20bd75660536d9a0dd0f5.tar.gz
minetest-ed2c8ba9c5d1a80cefe20bd75660536d9a0dd0f5.tar.bz2
minetest-ed2c8ba9c5d1a80cefe20bd75660536d9a0dd0f5.zip
Fix wrong status text rectangle. Fix for #1412
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 4e2677be6..3acc93828 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -3227,7 +3227,7 @@ void the_game(bool &kill, bool random_input, InputHandler *input,
core::rect<s32> rect(
10,
status_y - guitext_status->getTextHeight(),
- 10 + guitext_chat->getTextWidth(),
+ 10 + guitext_status->getTextWidth(),
status_y
);
guitext_status->setRelativePosition(rect);