1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-23 16:13:39 +00:00

10l, hopefully correct fix, before path was always overwritten to '/'

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8818 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4 2003-01-06 09:44:28 +00:00
parent b6e01d6f4d
commit ed23e7ef92

View File

@ -295,7 +295,7 @@ int cue_read_cue (char *in_cue_filename)
else {
*t = '\0';
t = s;
if (*t)
if (*t == '\0')
strcpy(t, "/");
}
printf ("dirname: %s\n", t);