| 232 | } // end of PlugRemoveType |
| 233 | |
| 234 | BOOL PlugIsAbsolutePath(LPCSTR path) |
| 235 | { |
| 236 | #if defined(_WIN32) |
| 237 | return ((path[0] >= 'a' && path[0] <= 'z') || |
| 238 | (path[0] >= 'A' && path[0] <= 'Z')) && path[1] == ':'; |
| 239 | #else |
| 240 | return path[0] == '/'; |
| 241 | #endif |
| 242 | } |
| 243 | |
| 244 | /***********************************************************************/ |
| 245 | /* Set the full path of a file relatively to a given path. */ |
no outgoing calls
no test coverage detected