Removed old code
This commit is contained in:
parent
0c0ff2802e
commit
fe1c04d1b8
|
|
@ -1307,12 +1307,7 @@ bool IsFileExtension(const char *fileName, const char *ext)
|
|||
{
|
||||
bool result = false;
|
||||
const char *fileExt;
|
||||
|
||||
if ((fileExt = strrchr(fileName, '.')) != NULL)
|
||||
{
|
||||
if (strcmp(fileExt, ext) == 0) result = true;
|
||||
}
|
||||
|
||||
|
||||
if ((fileExt = strrchr(fileName, '.')) != NULL)
|
||||
{
|
||||
#if defined(_WIN32)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user