mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
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:
parent
b067ebf50a
commit
aedbdb6ce4
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user