Fixed broken Panther build.
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Jan 2005 17:07:49 +0000 (17:07 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Jan 2005 17:07:49 +0000 (17:07 +0000)
commitc7bf58987d1a096b6a5be361de9cde36a7a67c36
treefe324a0ba34d70b96e2c54fb7624dccb9c6908fa
parentfa60704b09bc0e03c6d850a112bbb4e2e67c2768
    Fixed broken Panther build.

        * kwq/KWQTextUtilities.mm:
        (currentTextBreakLocaleID):
        This recently-added function was using code copy/pasted from CarbonCore UnicodeUtilities.
        That code used a Tiger-only function, CFLocaleCreateCanonicalLanguageIdentifierFromString.
        To fix the build, I added a BUILDING_ON_PANTHER #ifdef that avoids the call to the Tiger
        function. However, the Tiger-only code was wrong; the string generated using
        CFLocaleCreateCanonicalLanguageIdentifierFromString was not used at all, so I fixed that
        as well.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/kwq/KWQTextUtilities.mm