Merge branch 'master' of https://github.com/raysan5/raylib
This commit is contained in:
commit
9393d1d76f
1 changed files with 1 additions and 6 deletions
|
@ -1308,11 +1308,6 @@ bool IsFileExtension(const char *fileName, const char *ext)
|
||||||
bool result = false;
|
bool result = false;
|
||||||
const char *fileExt;
|
const char *fileExt;
|
||||||
|
|
||||||
if ((fileExt = strrchr(fileName, '.')) != NULL)
|
|
||||||
{
|
|
||||||
if (strcmp(fileExt, ext) == 0) result = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ((fileExt = strrchr(fileName, '.')) != NULL)
|
if ((fileExt = strrchr(fileName, '.')) != NULL)
|
||||||
{
|
{
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue