# HG changeset patch # User reimar # Date 1152271047 0 # Node ID 586777f09b1bdd9090b66b20ecec540db2350d79 # Parent 278eaf3ed5d8abeddaff57455c72ca1368feaf88 relative-to-absolute path fixes: Do not prepend drive letter to \\ paths. Do not exit after prepending drive letter to first file, process other files as well. diff -r 278eaf3ed5d8 -r 586777f09b1b playtreeparser.c --- a/playtreeparser.c Fri Jul 07 11:14:25 2006 +0000 +++ b/playtreeparser.c Fri Jul 07 11:17:27 2006 +0000 @@ -633,10 +633,12 @@ continue; // if the path begins with \ then prepend drive letter to it. if (pt->files[i][0] == '\\') { + if (pt->files[i][1] == '\\') + continue; pt->files[i] = (char*)realloc(pt->files[i],2+fl+1); memmove(pt->files[i] + 2,pt->files[i],fl+1); memcpy(pt->files[i],bp,2); - return; + continue; } pt->files[i] = (char*)realloc(pt->files[i],bl+fl+1); memmove(pt->files[i] + bl,pt->files[i],fl+1);