-----------------------------------------------------------------------
| 157 | } |
| 158 | //----------------------------------------------------------------------- |
| 159 | static String concatenate_path(const String& base, const String& name) |
| 160 | { |
| 161 | if (base.empty() || is_absolute_path(name.c_str())) |
| 162 | return name; |
| 163 | else |
| 164 | return base + '/' + name; |
| 165 | } |
| 166 | //----------------------------------------------------------------------- |
| 167 | #ifdef _OGRE_FILESYSTEM_ARCHIVE_UNICODE |
| 168 | static std::wstring to_wpath(const String& text, unsigned codepage = CP_UTF8) |