Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions hyphen.c
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,7 @@ int hnj_hyphen_hyph_(HyphenDict *dict, const char *word, int word_size,
if (match)
{
offset = i + 1 - strlen (match);
if (offset < 0) offset = 0; // happens with hyph_tr.dic
#ifdef VERBOSE
for (k = 0; k < offset; k++)
putchar (' ');
Expand Down