mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=480134; apply 500 char limit to all OSX versions; r=roc
This commit is contained in:
parent
e9ed6adcad
commit
9e33b4c1aa
@ -683,9 +683,9 @@ gfxAtsuiFontGroup::GuessMaximumStringLength()
|
||||
|
||||
// bug 436663 - ATSUI crashes on 10.5.3 with certain character sequences
|
||||
// at around 512 characters, so for safety sake max out at 500 characters
|
||||
if (gfxPlatformMac::GetPlatform()->OSXVersion() >= MAC_OS_X_VERSION_10_5_HEX) {
|
||||
realGuessMax = PR_MIN(500, realGuessMax);
|
||||
}
|
||||
// bug 480134 - Do this for all OSX versions now, because there may be
|
||||
// other related bugs on 10.4.
|
||||
realGuessMax = PR_MIN(500, realGuessMax);
|
||||
|
||||
return realGuessMax;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user