equal
deleted
inserted
replaced
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) */ |