diff options
-rw-r--r-- | src/ui/documentwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 45b96082..afd0070f 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -4765,7 +4765,7 @@ static void drawRun_DrawContext_(void *context, const iGmRun *run) { | |||
4765 | int bg = tmBackgroundOpenLink_ColorId; | 4765 | int bg = tmBackgroundOpenLink_ColorId; |
4766 | const int frame = tmFrameOpenLink_ColorId; | 4766 | const int frame = tmFrameOpenLink_ColorId; |
4767 | const int pad = gap_Text; | 4767 | const int pad = gap_Text; |
4768 | iRect wideRect = { init_I2(d->docBounds.pos.x - pad, visPos.y), | 4768 | iRect wideRect = { init_I2(origin.x - pad, visPos.y), |
4769 | init_I2(d->docBounds.size.x + 2 * pad, | 4769 | init_I2(d->docBounds.size.x + 2 * pad, |
4770 | height_Rect(run->visBounds)) }; | 4770 | height_Rect(run->visBounds)) }; |
4771 | adjustEdges_Rect(&wideRect, | 4771 | adjustEdges_Rect(&wideRect, |