Browse Source

uninitialized variable

David Rose 22 years ago
parent
commit
317b510b06
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/text/textNode.cxx

+ 1 - 0
panda/src/text/textNode.cxx

@@ -58,6 +58,7 @@ TypeHandle TextNode::_type_handle;
 TextNode::
 TextNode(const string &name) : PandaNode(name), _assembler(this) {
   _flags = 0;
+  _max_rows = 0;
 
   if (text_small_caps) {
     set_small_caps(true);