summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-22 08:25:20 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:00 +0000
commit0cc4070263c9159760901dcb5e2b1ac6d97de86f (patch)
treeb5113e43fefc69c6d6c0ad00ee1ccac8f144e9f2 /src/ui
parent3c9a869327aecda255ffc48ba7a7f4bcf6b4544e (diff)
* Fix UI_Text_Paint_Limit() function, which was printing a max of one character ever, but nothing was using it so nobody noticed (thanks Oopss)
* Add ALIGN_NONE and VALIGN_NONE types for CG_Text_Align function * Slightly widen the location item on the default hud, since just a little bit more fits most maps better * Prevent seeing crosshair playername text for players on the other team while in SPECTATOR_LOCKED * Fix formatting nitpick from a few revisions ago
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui_shared.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/ui_shared.c b/src/ui/ui_shared.c
index 524df189..6e046147 100644
--- a/src/ui/ui_shared.c
+++ b/src/ui/ui_shared.c
@@ -2192,10 +2192,11 @@ static void UI_Text_Paint_Generic( float x, float y, float scale, float gapAdjus
s++;
count++;
- if( maxX )
- *maxX = x;
}
+ if( maxX )
+ *maxX = x;
+
// paint cursor
if( cursorPos >= 0 )
{