diff options
| author | raysan5 <[email protected]> | 2016-09-12 19:36:41 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2016-09-12 19:36:41 +0200 |
| commit | 7f0880a73580c14312e18966d8aae568b7a3f7cb (patch) | |
| tree | bbf30cb5c10da9b0e847d5226e5d34a18a0e1bff /src/textures.c | |
| parent | 173f1993132485ab8fe16b170ad7bf7e32f47ac7 (diff) | |
| download | raylib-7f0880a73580c14312e18966d8aae568b7a3f7cb.tar.gz raylib-7f0880a73580c14312e18966d8aae568b7a3f7cb.zip | |
Review spacing formatting
raylib uses spaces between '+' and '-' signs but not between '*' and '/'
signs, it's a chosen convention
Diffstat (limited to 'src/textures.c')
| -rw-r--r-- | src/textures.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textures.c b/src/textures.c index 15293371..d4dd2ac2 100644 --- a/src/textures.c +++ b/src/textures.c @@ -1765,7 +1765,7 @@ static Image LoadPKM(const char *fileName) int size = image.width*image.height*bpp/8; // Total data size in bytes - image.data = (unsigned char*)malloc(size * sizeof(unsigned char)); + image.data = (unsigned char*)malloc(size*sizeof(unsigned char)); fread(image.data, 1, size, pkmFile); @@ -1858,7 +1858,7 @@ static Image LoadKTX(const char *fileName) int dataSize; fread(&dataSize, sizeof(unsigned int), 1, ktxFile); - image.data = (unsigned char*)malloc(dataSize * sizeof(unsigned char)); + image.data = (unsigned char*)malloc(dataSize*sizeof(unsigned char)); fread(image.data, 1, dataSize, ktxFile); |
