Bug 330276 Drop support for pre-Win2k platforms (Win9x/Me/NT4). #2 patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r+sr=roc

This commit is contained in:
masayuki%d-toybox.com 2006-04-11 16:21:25 +00:00
Родитель 54be0c0be3
Коммит e0ac7bfaac
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -328,7 +328,9 @@ void KeyboardLayout::LoadLayout ()
ReleaseDeadKeyTables ();
#ifndef DEBUG
PRBool keyboardInputAlreadyBlocked = !::BlockInput (PR_TRUE);
#endif
// For each shift state gather all printable characters that are produced
// for normal case when no any dead-key is active.
@ -403,9 +405,11 @@ void KeyboardLayout::LoadLayout ()
}
}
#ifndef DEBUG
if (!keyboardInputAlreadyBlocked)
::BlockInput (PR_FALSE);
#endif
#endif
}