Skip to content

Commit d173802

Browse files
committed
Update graphics.cpp
1 parent d6c095c commit d173802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/Graphics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ void Graphics::drawTextBox(int16_t x0, int16_t y0, int16_t x1, int16_t y1, const
321321
{
322322
this->drawRect(x0, y0, (x1 - x0), (y1 - y0), 1);
323323
}
324-
if (verticalSpacing == NULL)
324+
if (verticalSpacing == 0)
325325
{
326326
verticalSpacing = textSizeMultiplier * fontSize + 6;
327327
}

0 commit comments

Comments
 (0)