Skip to content
Snippets Groups Projects
Commit ee3c2bc8 authored by George Nachman's avatar George Nachman
Browse files

Fix a bug where a CRun that's split can have an undefined advance

parent fe0cc0eb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -195,7 +195,7 @@ CRUN_INLINE CRun *CRunSplit(CRun *run, int newStart) {
&run->attrs,
[NSString stringWithCharacters:[run->storage codesFromIndex:run->index]
length:1],
[run->storage advancesFromIndex:run->index][newStart].width,
[run->storage advancesFromIndex:run->index][0].width,
run->x);
 
// Skip past that one char.
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment