Navigation Menu

Skip to content

Commit

Permalink
tokenizer mecab: use grn_bool
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 20, 2015
1 parent 5298626 commit e0f1b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/tokenizers/mecab.c
Expand Up @@ -479,7 +479,7 @@ check_mecab_dictionary_encoding(grn_ctx *ctx)
mecab = mecab_new2("-Owakati");
if (mecab) {
grn_encoding encoding;
int have_same_encoding_dictionary = 0;
grn_bool have_same_encoding_dictionary;

encoding = GRN_CTX_GET_ENCODING(ctx);
have_same_encoding_dictionary = (encoding == get_mecab_encoding(mecab));
Expand Down

0 comments on commit e0f1b63

Please sign in to comment.