From 1ead697dfb891a6115726839a9daa2ebe2ec6804 Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 18 Apr 2007 07:00:49 +0000 Subject: [PATCH] fix bug introduced in last patch that made all text print one character to the left git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7123 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_draw.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gl_draw.c b/gl_draw.c index 164eebdd..2f9d94a4 100644 --- a/gl_draw.c +++ b/gl_draw.c @@ -711,8 +711,6 @@ float DrawQ_String(float startx, float starty, const char *text, int maxlen, flo x += r_textshadow.value; y += r_textshadow.value; } - // because this loop increments x before it draws, we must bias x first - x -= w; for (i = 0;i < maxlen && text[i];i++, x += w) { if (text[i] == ' ') -- 2.39.2