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
Update rcore.c
pull/3150/head
Ray
1 year ago
parent
e190b7eee9
commit
df90da0b37
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/rcore.c
+ 1
- 1
src/rcore.c
View File
@ -3219,7 +3219,7 @@ const char *GetApplicationDirectory(void)
#
if defined(_WIN32)
#
if defined(_WIN32)
int
len
=
0
;
int
len
=
0
;
#
if defined
(UNICODE)
#
if defined(UNICODE)
unsigned
short
widePath
[
MAX_PATH
]
;
unsigned
short
widePath
[
MAX_PATH
]
;
len
=
GetModuleFileNameW
(
NULL
,
widePath
,
MAX_PATH
)
;
len
=
GetModuleFileNameW
(
NULL
,
widePath
,
MAX_PATH
)
;
len
=
WideCharToMultiByte
(
0
,
0
,
widePath
,
len
,
appDir
,
MAX_PATH
,
NULL
,
NULL
)
;
len
=
WideCharToMultiByte
(
0
,
0
,
widePath
,
len
,
appDir
,
MAX_PATH
,
NULL
,
NULL
)
;
Write
Preview
|
|
|
|
|
|
x
0
0
0:0
Loading…
Cancel
Save