mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 05:01:05 +01:00 
			
		
		
		
	Not word-wrapping on apostrophes
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user