Removed old code
This commit is contained in:
parent
0c0ff2802e
commit
fe1c04d1b8
1 changed files with 1 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue