diff options
author | henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-25 20:12:36 +0000 |
---|---|---|
committer | henry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-25 20:12:36 +0000 |
commit | 69063f84ad39558289978d46b6d7da4a452d207f (patch) | |
tree | 28ef8b5779e62eee1e1e021b354e713915aa880c /subreader.c | |
parent | 9fc9f88cfbde165768ed9206bd384b2caf7edb31 (diff) | |
download | mpv-69063f84ad39558289978d46b6d7da4a452d207f.tar.bz2 mpv-69063f84ad39558289978d46b6d7da4a452d207f.tar.xz |
10L
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10337 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'subreader.c')
-rw-r--r-- | subreader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subreader.c b/subreader.c index b9c7ef0bb0..a65361d59d 100644 --- a/subreader.c +++ b/subreader.c @@ -1699,7 +1699,7 @@ char** sub_filenames(char* path, char *fname) } if (prio) { - sprintf(tmpresult, "%s%s", f_dir, de->d_name); + sprintf(tmpresult, "%s%s", j == 0 ? f_dir : path, de->d_name); // fprintf(stderr, "%s priority %d\n", tmpresult, prio); if ((f = fopen(tmpresult, "rt"))) { fclose(f); |