Small code tweaks
This commit is contained in:
parent
46ea556593
commit
b804f38150
3 changed files with 7 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue