From e3026d0792b4ff154cc6a53bfb8120ede6bf6197 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Sat, 2 Dec 2017 14:42:04 +0900 Subject: fmplayer_file_win: fixed W/A --- common/fmplayer_file_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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); -- cgit v1.2.3