From 3bce2ac0a0464c723d53959f0b180350f2ba33d5 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Tue, 5 Jan 2010 14:56:21 +0000 Subject: [PATCH] Setup default exts --- file_browser.hh | 3 +++ 1 file changed, 3 insertions(+) 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(); }