mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Switch to O(1) test, which avoids an extra #include.
This commit is contained in:
parent
865058b8d6
commit
0bb8bdf938
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user