diff --git a/RetroFE/Source/Graphics/Component/Text.cpp b/RetroFE/Source/Graphics/Component/Text.cpp index cdeeb0a..f6e3400 100644 --- a/RetroFE/Source/Graphics/Component/Text.cpp +++ b/RetroFE/Source/Graphics/Component/Text.cpp @@ -108,7 +108,7 @@ void Text::Draw() SDL::RenderCopy(t, static_cast(info->GetAlpha() * 255), &charRect, &rect, info->GetAngle()); rect.x += static_cast(glyph.Advance * scale); - if(static_cast(rect.x) - xOrigin) > info->GetMaxWidth()) + if((static_cast(rect.x) - xOrigin) > info->GetMaxWidth()) { break; }