Ver Fonte

Not word-wrapping on apostrophes

omar há 10 anos atrás
pai
commit
e78c47961e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      imgui.cpp

+ 1 - 1
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)