| 550 | //----------------------------------------------------------------------------- |
| 551 | |
| 552 | static StringTableEntry tryStripBasePath(const char *path, const char *base) |
| 553 | { |
| 554 | U32 len = dStrlen(base); |
| 555 | if(dStrnicmp(path, base, len) == 0) |
| 556 | { |
| 557 | if(*(path + len) == '/') ++len; |
| 558 | return StringTable->insert(path + len, true); |
| 559 | } |
| 560 | return NULL; |
| 561 | } |
| 562 | |
| 563 | StringTableEntry Platform::stripBasePath(const char *path) |
| 564 | { |
no test coverage detected