Skip to content

Commit

Permalink
fix hasCommit does not be reset when user presee any key.
Browse files Browse the repository at this point in the history
  • Loading branch information
hychen committed Oct 12, 2011
1 parent 48c64bf commit 5d0cb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IBusChewingEngine-input-events.c
Expand Up @@ -229,7 +229,7 @@ void ibus_chewing_engine_handle_Default(IBusChewingEngine *self, guint keyval, g
G_DEBUG_MSG(2,"[I2] handle_Default(-,%u) plainZhuyin=%s inputMode=%d",
keyval,(self->chewingFlags & CHEWING_FLAG_PLAIN_ZHUYIN)? "TRUE": "FALSE",self->inputMode);
ibus_chewing_engine_set_status_flag(self, ENGINE_STATUS_NEED_COMMIT);
self->hasCommit=1;
self->hasCommit=0;
#ifdef EASY_SYMBOL_INPUT_WORK_AROUND
if (self->chewingFlags & CHEWING_FLAG_EASY_SYMBOL_INPUT){
/* If shift is pressed, turn on the easySymbolInput, turn off
Expand Down

0 comments on commit 5d0cb25

Please sign in to comment.