| 547 | } |
| 548 | |
| 549 | void CreatePath(const char *fn) |
| 550 | { |
| 551 | char c = fn[strlen(fn)-1]; |
| 552 | |
| 553 | if (c != '\\' && c != '/') |
| 554 | { |
| 555 | FString name(fn); |
| 556 | name += '/'; |
| 557 | DoCreatePath(name.GetChars()); |
| 558 | } |
| 559 | else |
| 560 | { |
| 561 | DoCreatePath(fn); |
| 562 | } |
| 563 | } |
| 564 | #else |
| 565 | void CreatePath(const char *fn) |
| 566 | { |