get_num_rows was incorrect until text was generated

This commit is contained in:
David Rose 2001-07-24 16:03:52 +00:00
parent 751326a3f9
commit a2d155d126

View File

@ -410,7 +410,7 @@ do_measure() {
}
LVector2f ul, lr;
int num_rows;
int num_rows = 0;
measure_text(text.c_str(), ul, lr, num_rows);
_num_rows = num_rows;