Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
chewing_zuin_Check and chewing_bopomofo_Check have different output.
  • Loading branch information
czchen committed May 13, 2016
1 parent 437ef34 commit 1f05be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scim_chewing_imengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ bool ChewingIMEngineInstance::commit(ChewingContext *ctx)
// cursor decoration
int current_cursor = chewing_cursor_Current(ctx);

if (chewing_bopomofo_Check(ctx)) {
if (!chewing_bopomofo_Check(ctx)) {
attr.push_back(Attribute(current_cursor, 1,
SCIM_ATTR_DECORATE,
SCIM_ATTR_DECORATE_REVERSE));
Expand Down

0 comments on commit 1f05be7

Please sign in to comment.