From e185a67e9896c7f4799c80f7bed5bc7947f120c6 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 31 Jul 2001 20:56:36 +0000 Subject: [PATCH] remove unnecessary warning message --- panda/src/text/textNode.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/panda/src/text/textNode.cxx b/panda/src/text/textNode.cxx index 45cb433f30..04b9290e2f 100644 --- a/panda/src/text/textNode.cxx +++ b/panda/src/text/textNode.cxx @@ -575,11 +575,7 @@ measure_row(const char *&source) { // A printable character. const TextFont::CharDef *def = _font->get_char(character); - if (def == (const TextFont::CharDef *)NULL) { - text_cat.warning() - << "No definition for character " << character << endl; - - } else { + if (def != (const TextFont::CharDef *)NULL) { float char_width = def->_width; xpos += char_width; }