Retrigger CI

This commit is contained in:
Dave T 2024-10-14 13:59:29 +00:00
parent 6684438649
commit 0ee6884edb

View file

@ -376,7 +376,7 @@ void Display::print(int x, int y, int width, int height, BaseFont *font, Color c
this->get_text_bounds(line_x, line_y, w.c_str(), font, align, &word_x1, &word_y1, &word_width, &word_height); this->get_text_bounds(line_x, line_y, w.c_str(), font, align, &word_x1, &word_y1, &word_width, &word_height);
if (line_x + word_width >= x_max) { if (line_x + word_width >= x_max) {
// If the next line would overspill the height box, get ready to stop. // If the next line would overspill the height box, get ready to stop
if (line_y + 2 * static_cast<int>(word_height * line_height) > y_max) { if (line_y + 2 * static_cast<int>(word_height * line_height) > y_max) {
last = true; last = true;
size_t length = line.length(); size_t length = line.length();