From ae890fba3ba6cdaab61571d88db6f1c22109dfbf Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 16 Nov 2001 11:04:00 +0000 Subject: [PATCH] repair oops --- panda/src/pgui/pgEntry.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/pgui/pgEntry.cxx b/panda/src/pgui/pgEntry.cxx index 37e4f3374a..3306b4e716 100644 --- a/panda/src/pgui/pgEntry.cxx +++ b/panda/src/pgui/pgEntry.cxx @@ -501,7 +501,7 @@ setup(float width, int num_lines) { //////////////////////////////////////////////////////////////////// void PGEntry:: set_text_def(int state, TextNode *node) { - nassertv(state >= 0 && state < 1.0f); // Sanity check. + nassertv(state >= 0 && state < 1000); // Sanity check. if (node == (TextNode *)NULL && state >= (int)_text_defs.size()) { // If we're setting it to NULL, we don't need to slot a new one. return;