attmpt to fix bug #110828; disable all unicode input for OS < 9.0 (r=pink; sr=brendan)
git-svn-id: svn://10.0.0.236/trunk@110376 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
de4752bda5
commit
6ffd27568f
@ -60,11 +60,13 @@ void nsTSMStrategy::Init()
|
||||
err = Gestalt(gestaltTSMgrVersion, &version);
|
||||
if ((err == noErr) && (version >= gestaltTSMgr15))
|
||||
{
|
||||
gUseUnicodeForInputMethod = PR_TRUE;
|
||||
// only enable if OS 9.0 or greater; there is a bug
|
||||
// (in at least OS 8.6) that causes double input (Bug #106022)
|
||||
// see also bug #110828
|
||||
err = Gestalt(gestaltSystemVersion, &version);
|
||||
gUseUnicodeForKeyboard = (err == noErr) && (version >= 0x900);
|
||||
PRBool doEnable = (err == noErr) && (version >= 0x900);
|
||||
gUseUnicodeForKeyboard = doEnable;
|
||||
gUseUnicodeForInputMethod = doEnable;
|
||||
}
|
||||
#ifdef FORCE_USE_UNICODE_API
|
||||
gUseUnicodeForInputMethod = PR_TRUE;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user