| 85 | } |
| 86 | |
| 87 | const char* PU::FindExternalFilename(const char * externalpath) { |
| 88 | if (!externalpath) |
| 89 | return NULL; |
| 90 | |
| 91 | const char * name = strrchr(externalpath, '/'); |
| 92 | if (name) |
| 93 | name++; //skip '/' |
| 94 | else |
| 95 | return NULL; |
| 96 | |
| 97 | if (name == externalpath || name[0] == '/' || name[0] == 0) |
| 98 | return NULL; |
| 99 | |
| 100 | return name; |
| 101 | } |
| 102 | |
| 103 | const TCHAR* PU::FindLocalFilename(const TCHAR * localpath) { |
| 104 | if (!localpath) |
nothing calls this directly
no outgoing calls
no test coverage detected