summaryrefslogtreecommitdiff
path: root/src/history.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/history.c')
-rw-r--r--src/history.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/history.c b/src/history.c
index c592838e..2cea393d 100644
--- a/src/history.c
+++ b/src/history.c
@@ -391,6 +391,7 @@ void setCachedDocument_History(iHistory *d, iGmDocument *doc, iBool openedFromSi
391 lock_Mutex(d->mtx); 391 lock_Mutex(d->mtx);
392 iRecentUrl *item = mostRecentUrl_History(d); 392 iRecentUrl *item = mostRecentUrl_History(d);
393 if (item) { 393 if (item) {
394 iAssert(equal_String(url_GmDocument(doc), &item->url));
394 item->flags.openedFromSidebar = openedFromSidebar; 395 item->flags.openedFromSidebar = openedFromSidebar;
395 if (item->cachedDoc != doc) { 396 if (item->cachedDoc != doc) {
396 iRelease(item->cachedDoc); 397 iRelease(item->cachedDoc);