diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-12-02 14:42:04 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-12-02 14:42:04 +0900 |
commit | e3026d0792b4ff154cc6a53bfb8120ede6bf6197 (patch) | |
tree | 048c59e20a516b2015d4d8f8fce62ccd427aad9c /common/fmplayer_file_win.c | |
parent | f774afc5387887f4ce8067502412f5f64899632f (diff) |
fmplayer_file_win: fixed W/A
Diffstat (limited to 'common/fmplayer_file_win.c')
-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); |