Permalink
Browse files

Fix return value

  • Loading branch information...
1 parent 737eb32 commit e3b8882c119557c071a9a862d35cabd3721607c3 @czchen czchen committed Nov 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mod_aux.c
View
@@ -28,7 +28,7 @@
*/
CHEWING_API int chewing_commit_Check( ChewingContext *ctx )
{
- return (ctx->output->keystrokeRtn & KEYSTROKE_COMMIT);
+ return !!(ctx->output->keystrokeRtn & KEYSTROKE_COMMIT);
}
/**

0 comments on commit e3b8882

Please sign in to comment.