From e78c47961edcb8856c1a0638fa622a5fe5de3538 Mon Sep 17 00:00:00 2001 From: omar Date: Fri, 21 Nov 2014 16:35:35 +0000 Subject: [PATCH] Not word-wrapping on apostrophes --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 55d082a00..119337870 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -5946,7 +5946,7 @@ const char* ImBitmapFont::CalcWordWrapPositionA(float scale, const char* text, c } // Allow wrapping after punctuation. - inside_word = !(c == '.' || c == ',' || c == ';' || c == '!' || c == '?' || c == '\'' || c == '\"'); + inside_word = !(c == '.' || c == ',' || c == ';' || c == '!' || c == '?' || c == '\"'); } // We ignore blank width at the end of the line (they can be skipped)