diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-28 18:58:02 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-28 18:58:02 +0200 |
commit | 63e9a36d64b75c7cbab17ccd861f8017b8a1e136 (patch) | |
tree | 978611163a04285a2e55c3da277d0a2927f8a317 | |
parent | 1efe2aab4fdc811c1dd37c76d1f5d37063745649 (diff) |
Bookmarks: Crash when creating a bookmark
IssueID #402
-rw-r--r-- | src/bookmarks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookmarks.c b/src/bookmarks.c index 2606d975..f733dac3 100644 --- a/src/bookmarks.c +++ b/src/bookmarks.c | |||
@@ -502,7 +502,7 @@ iBool updateBookmarkIcon_Bookmarks(iBookmarks *d, const iString *url, iChar icon | |||
502 | 502 | ||
503 | void setRecentFolder_Bookmarks(iBookmarks *d, uint32_t folderId) { | 503 | void setRecentFolder_Bookmarks(iBookmarks *d, uint32_t folderId) { |
504 | iBookmark *bm = get_Bookmarks(d, folderId); | 504 | iBookmark *bm = get_Bookmarks(d, folderId); |
505 | if (isFolder_Bookmark(bm)) { | 505 | if (bm && isFolder_Bookmark(bm)) { |
506 | d->recentFolderId = folderId; | 506 | d->recentFolderId = folderId; |
507 | } | 507 | } |
508 | else { | 508 | else { |