src/fios.cpp
branchnoai
changeset 9701 d1ac22c62f64
parent 9631 8a2d1c2ceb88
child 9722 ebf0ece7d8f6
equal deleted inserted replaced
9700:e442ce398e83 9701:d1ac22c62f64
   106 {
   106 {
   107 	char *s;
   107 	char *s;
   108 	char *path = _fios_path;
   108 	char *path = _fios_path;
   109 
   109 
   110 	switch (item->type) {
   110 	switch (item->type) {
   111 #if defined(WIN32) || defined(__OS2__)
   111 #if defined(WINCE)
       
   112 	case FIOS_TYPE_DRIVE: sprintf(path, PATHSEP ""); break;
       
   113 #elif defined(WIN32) || defined(__OS2__)
   112 	case FIOS_TYPE_DRIVE: sprintf(path, "%c:" PATHSEP, item->title[0]); break;
   114 	case FIOS_TYPE_DRIVE: sprintf(path, "%c:" PATHSEP, item->title[0]); break;
   113 #endif
   115 #endif
   114 
   116 
   115 	case FIOS_TYPE_PARENT:
   117 	case FIOS_TYPE_PARENT:
   116 		/* Check for possible NULL ptr (not required for UNIXes, but AmigaOS-alikes) */
   118 		/* Check for possible NULL ptr (not required for UNIXes, but AmigaOS-alikes) */