Small operation precedence bug fixed in Text.cpp

This commit is contained in:
Don BURNS 2003-05-14 16:07:39 +00:00
parent 57af40ee95
commit b6d6759337

View File

@ -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)