diff --git a/hyphen.c b/hyphen.c index 5f66c2c..9393932 100644 --- a/hyphen.c +++ b/hyphen.c @@ -882,7 +882,7 @@ int hnj_hyphen_hyph_(HyphenDict *dict, const char *word, int word_size, if (match) { offset = i + 1 - strlen (match); - if (offset < 0) offsent = 0; // happens with hyph_tr.dic + if (offset < 0) offset = 0; // happens with hyph_tr.dic #ifdef VERBOSE for (k = 0; k < offset; k++) putchar (' ');