bug 480134: apply 500 char limit to all OSX versions; patch by vlad, r=roc, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@257582 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -679,9 +679,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user