Fix V_WordWrap and the new additional text colour codes.
This commit is contained in:
parent
f1d2968c19
commit
b2e9e8fb18
|
@ -2084,7 +2084,7 @@ char *V_WordWrap(INT32 x, INT32 w, INT32 option, const char *string)
|
||||||
for (i = 0; i < slen; ++i)
|
for (i = 0; i < slen; ++i)
|
||||||
{
|
{
|
||||||
c = newstring[i];
|
c = newstring[i];
|
||||||
if ((UINT8)c >= 0x80 && (UINT8)c <= 0x89) //color parsing! -Inuyasha 2.16.09
|
if ((UINT8)c & 0x80) //color parsing! -Inuyasha 2.16.09
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (c == '\n')
|
if (c == '\n')
|
||||||
|
|
Loading…
Reference in a new issue