aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-12-27 09:42:44 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-12-27 09:42:44 +0900
commit6775ab6c61b65e44d05eca4ffae488d9147ee31f (patch)
treecf7733196eeed3c66692b683cbbfedd86ba442ab /common
parent89dea5438266ef3389e5e86310d778c64bb6b59c (diff)
parent00f1d8d6cacf48139b976f3a25c040d51e1abe74 (diff)
merge sdl fix
Diffstat (limited to 'common')
-rw-r--r--common/fmplayer_file_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fmplayer_file_win.c b/common/fmplayer_file_win.c
index 71fb263..1d3c3c9 100644
--- a/common/fmplayer_file_win.c
+++ b/common/fmplayer_file_win.c
@@ -126,7 +126,7 @@ char *fmplayer_path_filename_sjis(const void *pathptr) {
u16_path = u8tou16(path);
#endif
if (!u16_path) goto err;
- PathStripPath(u16_path);
+ PathStripPathW(u16_path);
int bufsize = WideCharToMultiByte(932, 0, u16_path, -1, 0, 0, 0, 0);
if (bufsize <= 0) goto err;
filename_sjis = malloc(bufsize);