From a9aa341f5fa4e97eebd92a72b57bd5988ee4cc8e Mon Sep 17 00:00:00 2001 From: "dveditz%cruzio.com" Date: Thu, 25 Jun 2009 06:24:24 +0000 Subject: [PATCH] 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 --- mozilla/gfx/thebes/src/gfxAtsuiFonts.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/gfx/thebes/src/gfxAtsuiFonts.cpp b/mozilla/gfx/thebes/src/gfxAtsuiFonts.cpp index fe16835e382..cb948d0d8de 100644 --- a/mozilla/gfx/thebes/src/gfxAtsuiFonts.cpp +++ b/mozilla/gfx/thebes/src/gfxAtsuiFonts.cpp @@ -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; }