mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Text layout fix when using newlines with certain fonts on OSX.
This commit is contained in:
parent
4346fdb5f5
commit
13304ac410
1 changed files with 1 additions and 1 deletions
|
|
@ -547,7 +547,7 @@ namespace TextLayoutHelpers
|
|||
{
|
||||
String trimmed (s.trimEnd());
|
||||
if (trimmed.isEmpty() && ! s.isEmpty())
|
||||
trimmed = s;
|
||||
trimmed = s.replaceCharacters ("\r\n\t", " ");
|
||||
|
||||
return trimmed;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue