native spell checker of Mac OSX Tiger does not support language enumerate - assume true to get some spell check going

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37743 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2011-02-20 18:28:12 +00:00
parent b067ebf50a
commit aedbdb6ce4

View File

@ -249,5 +249,9 @@ void AppleSpeller_misspelledWord(AppleSpeller speller, int index, int * start, i
int AppleSpeller_hasLanguage(AppleSpeller speller, const char * lang) int AppleSpeller_hasLanguage(AppleSpeller speller, const char * lang)
{ {
#if defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && (__MAC_OS_X_VERSION_MAX_ALLOWED >= 1050)
return toLanguage(speller, lang) != nil; return toLanguage(speller, lang) != nil;
#else
return true;
#endif
} }