Fix a bug where the sink key handler missed a rejection condition.

This commit is contained in:
Lukhnos D. Liu 2012-04-11 02:23:56 -07:00
parent d6f7b6e38d
commit f457b9d463
1 changed files with 1 additions and 1 deletions

View File

@ -866,7 +866,7 @@ public:
// still nothing, then we update the composing buffer (some app has // still nothing, then we update the composing buffer (some app has
// strange behavior if we don't do this, "thinking" the key is not // strange behavior if we don't do this, "thinking" the key is not
// actually consumed) // actually consumed)
if ([_composingBuffer length]) { if ([_composingBuffer length] || !_bpmfReadingBuffer->isEmpty()) {
[self beep]; [self beep];
[self updateClientComposingBuffer:client]; [self updateClientComposingBuffer:client];
return YES; return YES;