Diff for /np2/sdl/dosio.c between versions 1.2 and 1.3

version 1.2, 2003/11/23 09:59:10 version 1.3, 2004/01/07 07:27:41
Line 388  void file_cutseparator(char *path) { Line 388  void file_cutseparator(char *path) {
         int             pos;          int             pos;
   
         pos = strlen(path) - 1;          pos = strlen(path) - 1;
         if ((pos > 0) && (path[pos] == '/')) {          if ((pos > 0) &&                                                        // 2文字以上でー
                   (path[pos] == '/') &&                                   // ケツが \ でー
                   ((pos != 1) || (path[0] != '.'))) {             // './' ではなかったら
                 path[pos] = '\0';                  path[pos] = '\0';
         }          }
 }  }

Removed from v.1.2  
changed lines
  Added in v.1.3


RetroPC.NET-CVS <cvs@retropc.net>