Small code tweaks

This commit is contained in:
raysan5 2016-01-02 10:41:37 +01:00
parent 46ea556593
commit b804f38150
3 changed files with 7 additions and 3 deletions

View file

@ -267,7 +267,7 @@ void RecordMalloc(int mallocType, int mallocSize, const char *msg)
const char *GetExtension(const char *fileName)
{
const char *dot = strrchr(fileName, '.');
if(!dot || dot == fileName) return "";
if (!dot || dot == fileName) return "";
return (dot + 1);
}