diff --git a/Adafruit_GFX.cpp b/Adafruit_GFX.cpp index 6f23421b..332a2d9d 100644 --- a/Adafruit_GFX.cpp +++ b/Adafruit_GFX.cpp @@ -1467,7 +1467,7 @@ void Adafruit_GFX::getTextBounds(const char *str, int16_t x, int16_t y, *x1 = minx; // Update x1 to least X coord, *w = maxx - minx + 1; // And w to bound rect width } - if (maxy >= miny) { // Same for height + if (maxy >= miny) { // Same for height *y1 = miny; *h = maxy - miny + 1; }