diff options
Diffstat (limited to 'src/eulogium.c')
-rw-r--r-- | src/eulogium.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eulogium.c b/src/eulogium.c index c92a9c7..9080c63 100644 --- a/src/eulogium.c +++ b/src/eulogium.c @@ -870,6 +870,8 @@ static void _cb_populate_filelist(const char *name, const char *path, void *data ext = ecore_file_ext_get(name); if (!ext) return; + if (!eulogium->printer.file_handlers) + return; for (i = 0; eulogium->printer.file_handlers[i] != NULL; i++) if (strncmp(ext, eulogium->printer.file_handlers[i], strlen(ext)) == 0) valid_ext++; |