diff --git a/panda/src/text/textAssembler.cxx b/panda/src/text/textAssembler.cxx index 893089abda..2ac07226f2 100644 --- a/panda/src/text/textAssembler.cxx +++ b/panda/src/text/textAssembler.cxx @@ -177,7 +177,7 @@ get_wordwrapped_wtext() const { for (ti = _wordwrapped_string.begin(); ti != _wordwrapped_string.end(); ++ti) { - if ((*ti)._graphic != (TextGraphic *)NULL) { + if ((*ti)._graphic == (TextGraphic *)NULL) { wtext += (*ti)._character; } }