[Fix] Accidently used assignment operator rather than logical to check if a file exists. :/
This commit is contained in:
parent
234a73635c
commit
2120f5da90
@ -120,7 +120,7 @@ char** lfile_readDir(int* lfiles, char* path) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// What if we find nothing?
|
// What if we find nothing?
|
||||||
if((*lfiles) = 0) {
|
if((*lfiles) == 0) {
|
||||||
free(files);
|
free(files);
|
||||||
files = NULL;
|
files = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user