summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gmdocument.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index cde714e7..002494b6 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -1423,6 +1423,9 @@ iBool updateOpenURLs_GmDocument(iGmDocument *d) {
1423 const iBool isOpen = contains_StringSet(d->openURLs, &link->url); 1423 const iBool isOpen = contains_StringSet(d->openURLs, &link->url);
1424 if (isOpen ^ ((link->flags & isOpen_GmLinkFlag) != 0)) { 1424 if (isOpen ^ ((link->flags & isOpen_GmLinkFlag) != 0)) {
1425 iChangeFlags(link->flags, isOpen_GmLinkFlag, isOpen); 1425 iChangeFlags(link->flags, isOpen_GmLinkFlag, isOpen);
1426 if (isOpen) {
1427 link->flags |= visited_GmLinkFlag;
1428 }
1426 wasChanged = iTrue; 1429 wasChanged = iTrue;
1427 } 1430 }
1428 } 1431 }