1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-10 12:29:01 +00:00

Switch to O(1) test, which avoids an extra #include.

This commit is contained in:
Thomas Harte 2021-01-30 23:33:03 -05:00
parent 865058b8d6
commit 0bb8bdf938

View File

@ -123,7 +123,7 @@ std::unique_ptr<Catalogue> Analyser::Static::Acorn::GetADFSCatalogue(const std::
name[c] = '\0'; name[c] = '\0';
// Skip if the name is empty. // Skip if the name is empty.
if(!strlen(name)) continue; if(name[0] == '\0') continue;
// Populate a file then. // Populate a file then.
File new_file; File new_file;