diff options
Diffstat (limited to 'cpp/src/IcePatch2Lib/Util.cpp')
-rw-r--r-- | cpp/src/IcePatch2Lib/Util.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IcePatch2Lib/Util.cpp b/cpp/src/IcePatch2Lib/Util.cpp index 2fc00be9d7c..d743528d531 100644 --- a/cpp/src/IcePatch2Lib/Util.cpp +++ b/cpp/src/IcePatch2Lib/Util.cpp @@ -424,10 +424,10 @@ IcePatch2::readDirectory(const string& pa) // // IcePatch2 doesn't support to use string converters, so don't need to use - // any string converter in nativeToWnative or wnativeToNative conversions. + // any string converter in stringToWstring or wstringToString conversions. // StringSeq result; - const wstring fs = IceUtil::nativeToWnative(0, 0, simplify(path + "/*")); + const wstring fs = IceUtil::stringToWstring(simplify(path + "/*")); struct _wfinddata_t data; intptr_t h = _wfindfirst(fs.c_str(), &data); @@ -438,7 +438,7 @@ IcePatch2::readDirectory(const string& pa) while(true) { - string name = IceUtil::wnativeToNative(0, 0, data.name); + string name = IceUtil::wstringToString(data.name); assert(!name.empty()); if(name != ".." && name != ".") |