(svn r27144) -Change: The chatbox-width setting now uses percent of screen width instead of pixels.

This commit is contained in:
frosch
2015-02-12 20:00:23 +00:00
parent f610db45b8
commit 3d37abf802
3 changed files with 6 additions and 6 deletions

View File

@@ -120,7 +120,7 @@ void NetworkInitChatMessage()
_chatmsg_list = ReallocT(_chatmsg_list, _settings_client.gui.network_chat_box_height);
_chatmsg_box.x = 10;
_chatmsg_box.width = _settings_client.gui.network_chat_box_width;
_chatmsg_box.width = _settings_client.gui.network_chat_box_width_pct * _screen.width / 100;
NetworkReInitChatBoxSize();
_chatmessage_visible = false;