From 0ee6884edbc17749bb65eedcd2881919eb92a8ea Mon Sep 17 00:00:00 2001 From: Dave T <17680170+davet2001@users.noreply.github.com> Date: Mon, 14 Oct 2024 13:59:29 +0000 Subject: [PATCH] Retrigger CI --- esphome/components/display/display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/display/display.cpp b/esphome/components/display/display.cpp index e5bae79479..0df0c18f4d 100644 --- a/esphome/components/display/display.cpp +++ b/esphome/components/display/display.cpp @@ -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); 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(word_height * line_height) > y_max) { last = true; size_t length = line.length();