diff options
Diffstat (limited to 'zen/recycler.cpp')
-rwxr-xr-x | zen/recycler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/recycler.cpp b/zen/recycler.cpp index 02ea026a..0c71bf3b 100755 --- a/zen/recycler.cpp +++ b/zen/recycler.cpp @@ -45,7 +45,7 @@ bool zen::recycleOrDeleteIfExists(const Zstring& itemPath) //throw FileError return true;
}
- throw FileError(errorMsg, replaceCpy<std::wstring>(L"Glib Error Code %x:", L"%x", numberTo<std::wstring>(error->code)) + L" " + utfCvrtTo<std::wstring>(error->message));
+ throw FileError(errorMsg, formatSystemError(L"g_file_trash", L"Glib Error Code " + numberTo<std::wstring>(error->code), utfTo<std::wstring>(error->message)));
//g_quark_to_string(error->domain)
}
return true;
|