summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-26 01:43:48 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:07 +0000
commitf4d446c36d14bcf0017da2415c770b531e4be155 (patch)
tree83193233ac1257dcfa45db3c7b99c5c153bbd9fe /src/ui
parentad7d2fe45dac9bb1b17a0ee66589e8e12b4027f9 (diff)
* Fix news menu line wrapping to not break horribly when using a widescreen resolution (thanks Tuples)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c
index 24cb6b7c..35293669 100644
--- a/src/ui/ui_main.c
+++ b/src/ui/ui_main.c
@@ -4580,7 +4580,7 @@ void UI_UpdateNews( qboolean begin )
trap_Cvar_VariableStringBuffer( "cl_newsString", newsString,
sizeof( newsString ) );
- wrapped = Item_Text_Wrap( newsString, .25, 300 );
+ wrapped = Item_Text_Wrap( newsString, .25, 325 * uiInfo.uiDC.aspectScale );
for( c = wrapped; *c != '\0'; ++c ) {
if( linePos == (MAX_NEWS_LINEWIDTH - 1) || *c == '\n' ) {