summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/documentwidget.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 6184a75a..5480523c 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1432,7 +1432,9 @@ static void updateDocument_DocumentWidget_(iDocumentWidget *d, const iGmResponse
1432 linkTitle = 1432 linkTitle =
1433 baseName_Path(collect_String(newRange_String(parts.path))).start; 1433 baseName_Path(collect_String(newRange_String(parts.path))).start;
1434 } 1434 }
1435 format_String(&str, "=> %s %s\n", cstr_String(d->mod.url), linkTitle); 1435 format_String(&str, "=> %s %s\n",
1436 cstr_String(withSpacesEncoded_String(d->mod.url)),
1437 linkTitle);
1436 setData_Media(media_GmDocument(d->doc), 1438 setData_Media(media_GmDocument(d->doc),
1437 imgLinkId, 1439 imgLinkId,
1438 mimeStr, 1440 mimeStr,
@@ -3870,7 +3872,7 @@ static void drawRun_DrawContext_(void *context, const iGmRun *run) {
3870 } 3872 }
3871#endif 3873#endif
3872 /* Fill the background. */ { 3874 /* Fill the background. */ {
3873 if (run->linkId && linkFlags & isOpen_GmLinkFlag) { 3875 if (run->linkId && linkFlags & isOpen_GmLinkFlag && ~linkFlags & content_GmLinkFlag) {
3874 /* Open links get a highlighted background. */ 3876 /* Open links get a highlighted background. */
3875 int bg = tmBackgroundOpenLink_ColorId; 3877 int bg = tmBackgroundOpenLink_ColorId;
3876 const int frame = tmFrameOpenLink_ColorId; 3878 const int frame = tmFrameOpenLink_ColorId;