mirror of
https://github.com/edubart/otclient.git
synced 2025-12-26 17:57:11 +01:00
Minor fixes and improvements
This commit is contained in:
@@ -35,7 +35,7 @@ void Platform::processArgs(std::vector<std::string>& args)
|
||||
//nothing todo, linux args are already utf8 encoded
|
||||
}
|
||||
|
||||
bool Platform::spawnProcess(const std::string& process, const std::vector<std::string>& args)
|
||||
bool Platform::spawnProcess(std::string process, const std::vector<std::string>& args)
|
||||
{
|
||||
struct stat sts;
|
||||
if(stat(process.c_str(), &sts) == -1 && errno == ENOENT)
|
||||
|
||||
Reference in New Issue
Block a user