diff options
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 50db33dd..91416020 100644 --- a/src/history.c +++ b/src/history.c | |||
@@ -412,6 +412,7 @@ void setCachedResponse_History(iHistory *d, const iGmResponse *response) { | |||
412 | void setCachedDocument_History(iHistory *d, iGmDocument *doc, iBool openedFromSidebar) { | 412 | void setCachedDocument_History(iHistory *d, iGmDocument *doc, iBool openedFromSidebar) { |
413 | lock_Mutex(d->mtx); | 413 | lock_Mutex(d->mtx); |
414 | iRecentUrl *item = mostRecentUrl_History(d); | 414 | iRecentUrl *item = mostRecentUrl_History(d); |
415 | iAssert(size_GmDocument(doc).x > 0); | ||
415 | if (item) { | 416 | if (item) { |
416 | #if !defined (NDEBUG) | 417 | #if !defined (NDEBUG) |
417 | if (!equal_String(url_GmDocument(doc), &item->url)) { | 418 | if (!equal_String(url_GmDocument(doc), &item->url)) { |