1
mirror of https://github.com/mpv-player/mpv synced 2024-09-05 02:48:21 +02:00

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:
faust3 2003-10-09 18:47:16 +00:00
parent fbc2de7ef4
commit aad5b2475b

View File

@ -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) {