| 232 | // FIXME: this is not ideal. the c: drive is not guaranteed to exist. |
| 233 | #if defined(TORQUE_OS_WIN) |
| 234 | static inline void _resolveLeadingSlash(char* buf, U32 size) |
| 235 | { |
| 236 | if(buf[0] != '/') |
| 237 | return; |
| 238 | |
| 239 | AssertFatal(dStrlen(buf) + 2 < size, "Expanded path would be too long"); |
| 240 | dMemmove(buf + 2, buf, dStrlen(buf)); |
| 241 | buf[0] = 'c'; |
| 242 | buf[1] = ':'; |
| 243 | } |
| 244 | #endif |
| 245 | |
| 246 | static void makeCleanPathInPlace( char* path ) |
no test coverage detected