From b051f7778f42cf6b2a3285e01524549c15b41f4e Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 29 Oct 2018 16:39:54 +0100 Subject: [PATCH] Corrected typo --- src/textures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textures.c b/src/textures.c index 4d3917c0..aa9e66f6 100644 --- a/src/textures.c +++ b/src/textures.c @@ -2890,7 +2890,7 @@ static Image LoadPKM(const char *fileName) // Get the image header fread(&pkmHeader, sizeof(PKMHeader), 1, pkmFile); - if ((pkmHeader.id[0] != 'P') || (pkmHeader.id[1] != 'K') || (pkmHeader.id[2] != 'M') || (ddsHeaderId[3] != ' ')) + if ((pkmHeader.id[0] != 'P') || (pkmHeader.id[1] != 'K') || (pkmHeader.id[2] != 'M') || (pkmHeader.id[3] != ' ')) { TraceLog(LOG_WARNING, "[%s] PKM file does not seem to be a valid image", fileName); }