summaryrefslogtreecommitdiff
path: root/plugingui/directory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/directory.cc')
-rw-r--r--plugingui/directory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/directory.cc b/plugingui/directory.cc
index 80eef3f..c7a17b2 100644
--- a/plugingui/directory.cc
+++ b/plugingui/directory.cc
@@ -159,7 +159,7 @@ Directory::EntryList Directory::listFiles(std::string path, unsigned char filter
std::vector<std::string> files;
struct dirent *entry;
- while((entry = readdir(dir)) != NULL)
+ while((entry = readdir(dir)) != nullptr)
{
std::string name = entry->d_name;
if(name == ".")