From db1f4d304c45482a6985d19df99a920c48248cfb Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 15 Jul 2021 16:21:54 +0200 Subject: pinkindexer_used: Handle methods=NULL In this case, return false because PinkIndexer is never in the list of automatically-chosen indexers. --- src/gui_index.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/gui_index.c b/src/gui_index.c index 645af05e..55a758f0 100644 --- a/src/gui_index.c +++ b/src/gui_index.c @@ -794,6 +794,8 @@ static int pinkindexer_used(const char *methods) int n, i; int r = 0; + if ( methods == NULL ) return 0; + m = parse_indexing_methods(methods, &n); for ( i=0; i