Patch #1015 ยป futils_cpp.patch
| src/futils.cpp (working copy) | ||
|---|---|---|
| 319 | 319 |
#ifdef EXV_UNICODE_PATH |
| 320 | 320 |
std::wstring pathOfFileUrl(const std::wstring& wurl) {
|
| 321 | 321 |
std::wstring path = wurl.substr(7); |
| 322 |
int found = path.find('/');
|
|
| 322 |
size_t found = path.find('/');
|
|
| 323 | 323 |
if (found == std::wstring::npos) return path; |
| 324 | 324 |
else return path.substr(found); |
| 325 | 325 |
} |