This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Removing +1 on comparing extesnions because this way it checked the file extension without the . against the file extension with the . resulting in always false. (
#1629
)
pull/1635/head
hristo
3 years ago
committed by
GitHub
parent
e09f5179e6
commit
81908f7960
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/core.c
+ 1
- 1
src/core.c
View File
@ -2325,7 +2325,7 @@ bool IsFileExtension(const char *fileName, const char *ext)
for
(
int
i
=
0
;
i
<
extCount
;
i
+
+
)
for
(
int
i
=
0
;
i
<
extCount
;
i
+
+
)
{
{
if
(
TextIsEqual
(
fileExtLower
,
TextToLower
(
checkExts
[
i
]
+
1
)
)
)
if
(
TextIsEqual
(
fileExtLower
,
TextToLower
(
checkExts
[
i
]
)
)
)
{
{
result
=
true
;
result
=
true
;
break
;
break
;
Write
Preview
Loading…
Cancel
Save