diff --git a/file_browser.hh b/file_browser.hh index 262ff80..f7cae80 100644 --- a/file_browser.hh +++ b/file_browser.hh @@ -12,6 +12,9 @@ public: this->path = NULL; this->exts = exts; + if (!this->exts) + this->exts = (const char **){ NULL }; + /* If nothing else: Set the default list */ this->setDefaultFileList(); }