From 319b3d8bba5793a56654d143a4ac75170698e141 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 1 Dec 2020 16:14:15 +0200 Subject: Added dialog for changing feed type This also gives feedback about a newly added subscription. --- src/bookmarks.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bookmarks.c') diff --git a/src/bookmarks.c b/src/bookmarks.c index 8bde5b8b..54b0407f 100644 --- a/src/bookmarks.c +++ b/src/bookmarks.c @@ -42,6 +42,7 @@ void deinit_Bookmark(iBookmark *d) { } iBool hasTag_Bookmark(const iBookmark *d, const char *tag) { + if (!d) return iFalse; iRegExp *pattern = new_RegExp(format_CStr("\\b%s\\b", tag), caseSensitive_RegExpOption); iRegExpMatch m; init_RegExpMatch(&m); -- cgit v1.2.3