summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gmdocument.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index bd54e6e5..5e14c55b 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -208,7 +208,8 @@ static iRangecc addLink_GmDocument_(iGmDocument *d, iRangecc line, iGmLinkId *li
208 } 208 }
209 } 209 }
210 /* Check if visited. */ { 210 /* Check if visited. */ {
211 link->when = urlVisitTime_History(history_App(), &link->url); 211 link->when = urlVisitTime_History(history_App(), absoluteUrl_String(&d->url,
212 &link->url));
212 if (isValid_Time(&link->when)) { 213 if (isValid_Time(&link->when)) {
213 link->flags |= visited_GmLinkFlag; 214 link->flags |= visited_GmLinkFlag;
214 } 215 }