From cb7617344c3b7994cb40d6253a77dbfa3d3ff984 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 6 Feb 2021 13:39:02 -0500 Subject: Fixed text wrapping miscalculation issue --- src/message_system.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/message_system.cpp') diff --git a/src/message_system.cpp b/src/message_system.cpp index 4a31a69..f9803ed 100644 --- a/src/message_system.cpp +++ b/src/message_system.cpp @@ -119,15 +119,9 @@ void MessageSystem::displayMessage(std::string_view msg, std::string speakerName // textbox. for (const std::string& word : words) { int wordWidth = 0; - bool firstChar = true; for (int i=0; i