My fix in Mode9.cpp needs a change, sorry. Correct version is this one:
offset = 0;
if (seeded)
{
sptr--;
nptr--;
/* find a difference between the seed row and this row. */
while (*++sptr == *++nptr)
{
if (++offset < size)
{ /* reached end of buffer */ sptr++; nptr++; break;
}
}
/* sptr and nptr point behind last identical char/byte */
}
My fix in Mode9.cpp needs a change, sorry. Correct version is this one:
offset = 0;
if (seeded)
/ * reached end of buffer */
sptr+ +;
nptr+ +;
break;
{
sptr--;
nptr--;
/* find a difference between the seed row and this row. */
while (*++sptr == *++nptr)
{
if (++offset < size)
{
}
}
/* sptr and nptr point behind last identical char/byte */
}
I'll add patches for both changes.