[unsafe-to-concat] Adjust CursivePos
Doesn't fix the test yet.
This commit is contained in:
parent
ea1b32c8c1
commit
11bdd7a020
|
@ -1886,7 +1886,11 @@ struct CursivePosFormat1
|
||||||
}
|
}
|
||||||
|
|
||||||
const EntryExitRecord &prev_record = entryExitRecord[(this+coverage).get_coverage (buffer->info[skippy_iter.idx].codepoint)];
|
const EntryExitRecord &prev_record = entryExitRecord[(this+coverage).get_coverage (buffer->info[skippy_iter.idx].codepoint)];
|
||||||
if (!prev_record.exitAnchor) return_trace (false);
|
if (!prev_record.exitAnchor)
|
||||||
|
{
|
||||||
|
buffer->unsafe_to_concat_from_outbuffer (skippy_iter.idx, buffer->idx);
|
||||||
|
return_trace (false);
|
||||||
|
}
|
||||||
|
|
||||||
unsigned int i = skippy_iter.idx;
|
unsigned int i = skippy_iter.idx;
|
||||||
unsigned int j = buffer->idx;
|
unsigned int j = buffer->idx;
|
||||||
|
|
Loading…
Reference in New Issue