Actually have matrixed cubes working
This commit is contained in:
@ -117,10 +117,11 @@ int32_t GeneratedLanguages::scanDir(
|
||||
std::vector<std::string> *files
|
||||
) {
|
||||
DIR* handle = opendir(dir.c_str());
|
||||
if(ENOENT == errno || !handle) {
|
||||
if(ENOENT == errno) {
|
||||
*error = "Input directory \"" + dir + "\" does not exist";
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
if(!handle) return 0;
|
||||
|
||||
struct dirent *entry;
|
||||
while((entry=readdir(handle))) {
|
||||
|
Reference in New Issue
Block a user