fixed acl_ReadtextFile

This commit is contained in:
2020-06-24 16:34:49 +02:00
parent a87fc373ba
commit 59740ea632

View File

@ -20,9 +20,6 @@ char* acl_ReadTextFile(char *filePath, bool *sucess){
}
size_t readReturn = fread(buffer, lSize, 1, fp);
fclose(fp);
if(readReturn != 1) {
*sucess = false;
}
*sucess = true;
*sucess = readReturn == 1;
return buffer;
}