Remove wstring variants of string utils functions

* When needed on windows we convert to/from UTF-8. For most places this is easy
  enough, the callstack processing is now moved to store most data as UTF-8 in
  the first place.
This commit is contained in:
baldurk
2019-03-13 14:21:28 +00:00
parent 17e1ea96d2
commit c1408df4cd
22 changed files with 288 additions and 296 deletions
+2 -2
View File
@@ -267,7 +267,7 @@ std::string getToolPath(ToolDir subdir, const std::string &toolname, bool checkE
{
std::string libpath;
FileIO::GetLibraryFilename(libpath);
std::string libdir = dirname(FileIO::GetFullPathname(libpath));
std::string libdir = get_dirname(FileIO::GetFullPathname(libpath));
toolpath = libdir + "/plugins/android/" + toolname;
if(toolExists(toolpath))
@@ -329,7 +329,7 @@ void initAdb()
std::string adb = getToolPath(ToolDir::PlatformTools, "adb", false);
std::string workdir = ".";
if(adb.find('/') != std::string::npos || adb.find('\\') != std::string::npos)
workdir = dirname(adb);
workdir = get_dirname(adb);
Process::LaunchProcess(adb.c_str(), workdir.c_str(), "start-server", true);
}