diff --git a/src/SDL_ttf.c b/src/SDL_ttf.c index 9dc4b6f8..40e73ac7 100644 --- a/src/SDL_ttf.c +++ b/src/SDL_ttf.c @@ -4512,7 +4512,7 @@ static bool LayoutText(TTF_Text *text) Uint32 script = TTF_GetTextScript(text); if (!GetWrappedLines(font, text->text, length, direction, script, text->internal->x, wrap_width, trim_whitespace, &strLines, &numLines, &width, &height, false)) { - return true; + return false; } height += text->internal->y;