diff options
-rw-r--r-- | common/fmplayer_file_win.c | 2 |
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); |