Fix a bad read in the console code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5933 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
dc97689e9e
commit
248c248ece
1 changed files with 1 additions and 1 deletions
|
@ -2578,7 +2578,7 @@ static int Con_DrawConsoleLines(console_t *con, conline_t *l, float displayscrol
|
|||
if (selactive == 2 && s)
|
||||
{ //checking for mouseover
|
||||
//scan earlier to find any link enclosure
|
||||
for(; c >= (conchar_t*)(l+1); c--)
|
||||
for(c--; c >= (conchar_t*)(l+1); c--)
|
||||
{
|
||||
if (*c == CON_LINKSTART)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue