| 493 | |
| 494 | |
| 495 | void DosSlashToUnix(const char *SrcName,char *DestName,size_t MaxLength) |
| 496 | { |
| 497 | size_t Copied=0; |
| 498 | for (;Copied<MaxLength-1 && SrcName[Copied]!=0;Copied++) |
| 499 | DestName[Copied]=SrcName[Copied]=='\\' ? '/':SrcName[Copied]; |
| 500 | DestName[Copied]=0; |
| 501 | } |
| 502 | |
| 503 | |
| 504 | void UnixSlashToDos(const wchar *SrcName,wchar *DestName,size_t MaxLength) |
no outgoing calls
no test coverage detected