aboutsummaryrefslogtreecommitdiff
path: root/src/gui_index.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_index.c')
-rw-r--r--src/gui_index.c2
1 files changed, 2 insertions, 0 deletions
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<n; i++ ) {
if ( is_method(m[i], INDEXING_PINKINDEXER) ) {