diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-11-20 20:35:54 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-11-20 20:35:54 +0100 |
commit | 60516dd77c6b32379fe4103ace3879ee71a5cda4 (patch) | |
tree | 0aa4ab78c4ff06a5784c0bbdf5fa08a42e5b3175 /plugingui/directory.cc | |
parent | 299f6ef8499bb3ee4ada5d63dc71091fddcb39c6 (diff) |
Missed a couple of NULL conversions.
Diffstat (limited to 'plugingui/directory.cc')
-rw-r--r-- | plugingui/directory.cc | 2 |
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 == ".") |