diff options
Diffstat (limited to 'src/frame.c')
-rw-r--r-- | src/frame.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index 96e0d37..4595610 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1162,6 +1162,10 @@ static Paragraph *scan_runs_for_scblock(struct frame *fr, int pn1, int pn2, *run = j; return fr->paras[i]; } + if ( fr->paras[i]->runs[j].scblock == bl ) { + *run = j; + return fr->paras[i]; + } } } return NULL; |