unbreak console links.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4666 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
eb91fc3ac7
commit
23dc0cbe21
1 changed files with 3 additions and 2 deletions
|
@ -2821,10 +2821,11 @@ conchar_t *COM_ParseFunString(conchar_t defaultflags, const char *str, conchar_t
|
|||
|
||||
if (!--outsize)
|
||||
break;
|
||||
*out++ = ']';
|
||||
|
||||
*out++ = ']'|CON_HIDDEN|CON_LINKSPECIAL;
|
||||
|
||||
//its a valid link, so we can hide it all now
|
||||
*linkstart++ |= CON_HIDDEN; //leading [ is hidden
|
||||
*linkstart++ |= CON_HIDDEN|CON_LINKSPECIAL; //leading [ is hidden
|
||||
while(linkstart < out-1 && (*linkstart&CON_CHARMASK) != '\\') //link text is NOT hidden
|
||||
linkstart++;
|
||||
while(linkstart < out) //but the infostring behind it is, as well as the terminator
|
||||
|
|
Loading…
Reference in a new issue