From: sapier Date: Fri, 20 Jun 2014 13:18:45 +0000 (+0200) Subject: Fix chat overlaying full screen, now it's gonna overlay only up to length of longest... X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=2dd69a85e71da15a58e59e12d5e986a617429c8f;p=zefram%2Fminetest%2Fminetest_engine.git Fix chat overlaying full screen, now it's gonna overlay only up to length of longest line --- diff --git a/src/game.cpp b/src/game.cpp index 9bbbb5ec..4e2677be 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 rect( 10, status_y - guitext_status->getTextHeight(), - screensize.X - 10, + 10 + guitext_chat->getTextWidth(), status_y ); guitext_status->setRelativePosition(rect);