mirror of https://github.com/mpv-player/mpv
sub autoloading fix for windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11063 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fbc2de7ef4
commit
aad5b2475b
|
@ -1674,6 +1674,9 @@ char** sub_filenames(char* path, char *fname)
|
|||
subcnt = 0;
|
||||
|
||||
tmp = strrchr(fname,'/');
|
||||
#ifdef WIN32
|
||||
if(!tmp)tmp = strrchr(fname,'\\');
|
||||
#endif
|
||||
|
||||
// extract filename & dirname from fname
|
||||
if (tmp) {
|
||||
|
|
Loading…
Reference in New Issue