From 9baac1bac2ef3366674a401213d83477b7498856 Mon Sep 17 00:00:00 2001 From: Don Honerbrink Date: Tue, 10 Feb 2015 21:44:04 +0000 Subject: [PATCH] Text.cpp edited online with Bitbucket --- RetroFE/Source/Graphics/Component/Text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RetroFE/Source/Graphics/Component/Text.cpp b/RetroFE/Source/Graphics/Component/Text.cpp index e6b8c8f..cdeeb0a 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; }