This commit is contained in:
aloistr 2021-02-01 19:24:49 +01:00 committed by GitHub
commit 84d853e68d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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 (' ');