diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-15 10:31:20 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-15 10:31:20 +0300 |
commit | d5a87c08b3ed5521a21a72c048e5cf4db68314fa (patch) | |
tree | ce3bce2b1d0a3349f3faec4e3dab8ca65cdb38f6 /src/history.c | |
parent | e5e3b291ac0adc2eab0ec5840b7bad99517b4d59 (diff) |
DocumentWidget: Caching error page documents
Diffstat (limited to 'src/history.c')
-rw-r--r-- | src/history.c | 1 |
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); |