summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bookmarks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookmarks.c b/src/bookmarks.c
index d4b20162..5e943387 100644
--- a/src/bookmarks.c
+++ b/src/bookmarks.c
@@ -410,7 +410,7 @@ iBool updateBookmarkIcon_Bookmarks(iBookmarks *d, const iString *url, iChar icon
410 410
411void setRecentFolder_Bookmarks(iBookmarks *d, uint32_t folderId) { 411void setRecentFolder_Bookmarks(iBookmarks *d, uint32_t folderId) {
412 iBookmark *bm = get_Bookmarks(d, folderId); 412 iBookmark *bm = get_Bookmarks(d, folderId);
413 if (isFolder_Bookmark(bm)) { 413 if (bm && isFolder_Bookmark(bm)) {
414 d->recentFolderId = folderId; 414 d->recentFolderId = folderId;
415 } 415 }
416 else { 416 else {