git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4799
d7cf8633-e32d-0410-b094-
e92efae38249
for (;len > 0 && string[len - 1] == ' ';len--);
if (len < 1)
return;
for (;len > 0 && string[len - 1] == ' ';len--);
if (len < 1)
return;
- if (x >= vid.conwidth || y >= vid.conheight || x < (-scalex * maxlen) || y < (-scaley))
+ if (x >= vid.conwidth || y >= vid.conheight || x < (-scalex * len) || y < (-scaley))
return;
size = sizeof(*dq) + ((len + 1 + 3) & ~3);
if (r_refdef.drawqueuesize + size > r_refdef.maxdrawqueuesize)
return;
size = sizeof(*dq) + ((len + 1 + 3) & ~3);
if (r_refdef.drawqueuesize + size > r_refdef.maxdrawqueuesize)