Merge 9a89147265
into 73dd2967c8
This commit is contained in:
commit
84d853e68d
1
hyphen.c
1
hyphen.c
|
@ -882,6 +882,7 @@ int hnj_hyphen_hyph_(HyphenDict *dict, const char *word, int word_size,
|
||||||
if (match)
|
if (match)
|
||||||
{
|
{
|
||||||
offset = i + 1 - strlen (match);
|
offset = i + 1 - strlen (match);
|
||||||
|
if (offset < 0) offset = 0; // happens with hyph_tr.dic
|
||||||
#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
for (k = 0; k < offset; k++)
|
for (k = 0; k < offset; k++)
|
||||||
putchar (' ');
|
putchar (' ');
|
||||||
|
|
Loading…
Reference in New Issue