Small operation precedence bug fixed in Text.cpp
This commit is contained in:
parent
57af40ee95
commit
b6d6759337
@ -364,7 +364,7 @@ void Text::setDrawMode(unsigned int mode)
|
||||
{
|
||||
if (_drawMode==mode) return;
|
||||
|
||||
if (_drawMode&3 != mode&3)
|
||||
if ((_drawMode&3) != (mode&3))
|
||||
{
|
||||
_drawMode=mode;
|
||||
if (_drawMode&TEXT_PIXMAP)
|
||||
|
Loading…
Reference in New Issue
Block a user