m = font_measure_string(t->font, text, t->shadow, t->offset);
while (l && m > position->width) {
text[--l] = '\0';
- m = font_measure_string(t->font, text, t->shadow, t->offset);
+ m = font_measure_string(t->font, text, t->shadow, t->offset);
}
if (!l) return;