diff options
Diffstat (limited to 'src/tokenizers/tokenizers.c')
-rw-r--r-- | src/tokenizers/tokenizers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tokenizers/tokenizers.c b/src/tokenizers/tokenizers.c index 16dc763ed..d5a820d1b 100644 --- a/src/tokenizers/tokenizers.c +++ b/src/tokenizers/tokenizers.c @@ -138,7 +138,7 @@ get_next_word (f_str_t * buf, f_str_t * token, GList **exceptions) token->len = 0; remain = buf->len - (token->begin - buf->begin); - if (remain <= 0) { + if (remain == 0) { return NULL; } pos = token->begin - buf->begin; |