fix for sys_colorconsole on windows
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2366 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
084c095dc7
commit
0d6e663d60
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ void ApplyColour(unsigned int chr)
|
|||
// bits 28-31 of the console chars match up to the attributes for
|
||||
// the CHAR_INFO struct exactly
|
||||
if (chr & CON_NONCLEARBG)
|
||||
val = (chr & (CON_FGMASK|CON_BGMASK) >> CON_FGSHIFT);
|
||||
val = ((chr & (CON_FGMASK|CON_BGMASK)) >> CON_FGSHIFT);
|
||||
else
|
||||
{
|
||||
int fg = (chr & CON_FGMASK) >> CON_FGSHIFT;
|
||||
|
|
Loading…
Reference in a new issue