platform/win32.c
changeset 113 489a1bb4e621
parent 111 cbedf24a1dc6
child 119 3ba614e99e70
equal deleted inserted replaced
112:319c1a5f2a11 113:489a1bb4e621
   353         /*
   353         /*
   354          * If in \\server\path format, it's already an absolute path.
   354          * If in \\server\path format, it's already an absolute path.
   355          *  We'll need to check for "." and ".." dirs, though, just in case.
   355          *  We'll need to check for "." and ".." dirs, though, just in case.
   356          */
   356          */
   357     if ((path[0] == '\\') && (path[1] == '\\'))
   357     if ((path[0] == '\\') && (path[1] == '\\'))
   358     {
       
   359         BAIL_IF_MACRO(retval == NULL, ERR_OUT_OF_MEMORY, NULL);
       
   360         strcpy(retval, path);
   358         strcpy(retval, path);
   361     } /* if */
       
   362 
   359 
   363     else
   360     else
   364     {
   361     {
   365         char *currentDir = __PHYSFS_platformCurrentDir();
   362         char *currentDir = __PHYSFS_platformCurrentDir();
   366         if (currentDir == NULL)
   363         if (currentDir == NULL)