diff options
Diffstat (limited to 'src/components/main/layout/text.rs')
-rw-r--r-- | src/components/main/layout/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/main/layout/text.rs b/src/components/main/layout/text.rs index 525e6239320..d0eb65937d6 100644 --- a/src/components/main/layout/text.rs +++ b/src/components/main/layout/text.rs @@ -241,7 +241,7 @@ impl TextRunScanner { } do in_boxes[i].with_base |base| { - let new_box = @mut adapt_textbox_with_range(*base, run.get(), range); + let new_box = @mut adapt_textbox_with_range(*base, run.unwrap(), range); out_boxes.push(TextRenderBoxClass(new_box)); } } |