diff --git a/Analyser/Static/Acorn/Disk.cpp b/Analyser/Static/Acorn/Disk.cpp index 236a5832f..220f6d5c9 100644 --- a/Analyser/Static/Acorn/Disk.cpp +++ b/Analyser/Static/Acorn/Disk.cpp @@ -123,7 +123,7 @@ std::unique_ptr Analyser::Static::Acorn::GetADFSCatalogue(const std:: name[c] = '\0'; // Skip if the name is empty. - if(!strlen(name)) continue; + if(name[0] == '\0') continue; // Populate a file then. File new_file;