Revert "Don't store args as std::string"
This reverts commit 8482575d1f
.
There is weird thing happened if we tried to store raw "argv" on Linux.
This commit is contained in:
parent
9f30933d3a
commit
d9c22396ea
4 changed files with 31 additions and 16 deletions
|
@ -155,7 +155,7 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t* cmd, int) {
|
|||
content::ContentMainParams params(&delegate);
|
||||
params.instance = instance;
|
||||
params.sandbox_info = &sandbox_info;
|
||||
atom::AtomCommandLine::Init(argc, const_cast<const char**>(argv));
|
||||
atom::AtomCommandLine::Init(argc, argv);
|
||||
return content::ContentMain(params);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue