From ed2c8ba9c5d1a80cefe20bd75660536d9a0dd0f5 Mon Sep 17 00:00:00 2001
From: RealBadAngel <maciej.kasatkin@o2.pl>
Date: Fri, 27 Jun 2014 20:16:37 +0200
Subject: Fix wrong status text rectangle. Fix for #1412

---
 src/game.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

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);
-- 
cgit v1.2.3