Not word-wrapping on apostrophes

This commit is contained in:
omar 2014-11-21 16:35:35 +00:00
parent 8c4fcf1359
commit e78c47961e

View file

@ -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)