From f4d446c36d14bcf0017da2415c770b531e4be155 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Mon, 26 Oct 2009 01:43:48 +0000 Subject: * Fix news menu line wrapping to not break horribly when using a widescreen resolution (thanks Tuples) --- src/ui/ui_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui') 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' ) { -- cgit