criteria: allow matching on empty (NULL) titles

This commit is contained in:
Puck Meerburg 2022-09-23 12:48:49 +00:00
parent a8b079882b
commit 9ea0024eb1

View file

@ -189,7 +189,7 @@ static bool criteria_matches_view(struct criteria *criteria,
if (criteria->title) {
const char *title = view_get_title(view);
if (!title) {
return false;
title = "";
}
switch (criteria->title->match_type) {