From b6d6759337cdf7311200cce5ae7f70dc937678c3 Mon Sep 17 00:00:00 2001 From: Don BURNS Date: Wed, 14 May 2003 16:07:39 +0000 Subject: [PATCH] Small operation precedence bug fixed in Text.cpp --- src/osgText/Text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgText/Text.cpp b/src/osgText/Text.cpp index acf6833bc..f92163715 100644 --- a/src/osgText/Text.cpp +++ b/src/osgText/Text.cpp @@ -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)