1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 04:15:13 +00:00

Remove windows-specific hack that interfered with relative path

handling and should not be needed anymore


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18934 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-07-07 11:20:06 +00:00
parent e300b2d8c7
commit 3b1b7689f2

View File

@ -2653,14 +2653,12 @@ int gui_no_filename=0;
play_tree_iter_free(playtree_iter);
playtree_iter=NULL;
#ifndef WIN32 //Allow playing movies from network drives. eg. \\Desktop\c\somemovie.avi
if (getcwd(cwd, PATH_MAX) != (char *)NULL)
{
strcat(cwd, "/");
// Prefix relative paths with current working directory
play_tree_add_bpf(playtree, cwd);
}
#endif /* WIN32 */
// Import initital playtree into GUI.
import_initial_playtree_into_gui(playtree, mconfig, enqueue);
}