[Fix] Accidently used assignment operator rather than logical to check if a file exists. :/

This commit is contained in:
Allanis 2013-06-16 02:09:58 +01:00
parent 234a73635c
commit 2120f5da90

View File

@ -120,7 +120,7 @@ char** lfile_readDir(int* lfiles, char* path) {
#endif
// What if we find nothing?
if((*lfiles) = 0) {
if((*lfiles) == 0) {
free(files);
files = NULL;
}