Remove trail spaces and some tweaks

This commit is contained in:
Ray 2020-02-27 13:33:09 +01:00
parent 2a408d789c
commit 5ff0776235
7 changed files with 63 additions and 63 deletions

View file

@ -182,7 +182,7 @@ unsigned char *LoadFileData(const char *fileName, int *bytesRead)
if (size > 0)
{
data = (unsigned char *)RL_MALLOC(sizeof(unsigned char)*size);
// NOTE: fread() returns number of read elements instead of bytes, so we read [1 byte, size elements]
int count = fread(data, sizeof(unsigned char), size, file);
*bytesRead = count;