mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 14:34:54 +01:00
Fix clang-tidy
This commit is contained in:
parent
e9747cf6a2
commit
6684438649
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ void Display::print(int x, int y, BaseFont *font, Color color, TextAlign align,
|
|||
void Display::print(int x, int y, int width, int height, BaseFont *font, Color color, TextAlign align, const char *text,
|
||||
Color background, float line_height, bool wrap) {
|
||||
int x_start, y_start;
|
||||
if (wrap == false) {
|
||||
if (!wrap) {
|
||||
this->get_text_bounds(x, y, text, font, align, &x_start, &y_start, &width, &height);
|
||||
font->print(x_start, y_start, this, color, text, background);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue