(svn r14320) -Fix [FS#2299]: glitch when chatbox window is full and the window is scrolled (yorP)

This commit is contained in:
rubidium 2008-09-14 10:39:22 +00:00
parent 9174c19291
commit 811193e468
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ void NetworkInitChatMessage()
_chatmsg_box.x = 10;
_chatmsg_box.y = 30;
_chatmsg_box.width = _settings_client.gui.network_chat_box_width;
_chatmsg_box.height = _settings_client.gui.network_chat_box_height * NETWORK_CHAT_LINE_HEIGHT;
_chatmsg_box.height = _settings_client.gui.network_chat_box_height * NETWORK_CHAT_LINE_HEIGHT + 2;
_chatmessage_backup = ReallocT(_chatmessage_backup, _chatmsg_box.width * _chatmsg_box.height * BlitterFactoryBase::GetCurrentBlitter()->GetBytesPerPixel());
for (uint i = 0; i < MAX_CHAT_MESSAGES; i++) {