diff options
author | Indah Sylvia <ISylvox@yahoo.com> | 2017-11-25 11:12:07 +0700 |
---|---|---|
committer | Indah Sylvia <ISylvox@yahoo.com> | 2017-11-25 11:12:07 +0700 |
commit | ac92c147c681f74d4ffe843a2e332e43c662ff27 (patch) | |
tree | e6cdb3b7493baff1a38b3ec008e69e12a39f09ae /platform/windows | |
parent | bc2e8d99e5ae0dbd69e712cc71da3033f5f30139 (diff) |
Completed bc2e8d99e5ae0dbd69e712cc71da3033f5f30139 so that windows can be built
Diffstat (limited to 'platform/windows')
-rw-r--r-- | platform/windows/os_windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index c189b3b744..827189bb4f 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -1843,7 +1843,7 @@ Error OS_Windows::execute(const String &p_path, const List<String> &p_arguments, modstr.resize(cmdline.size()); for (int i = 0; i < cmdline.size(); i++) modstr[i] = cmdline[i]; - int ret = CreateProcessW(NULL, modstr.ptr(), NULL, NULL, 0, NORMAL_PRIORITY_CLASS, NULL, NULL, si_w, &pi.pi); + int ret = CreateProcessW(NULL, modstr.ptrw(), NULL, NULL, 0, NORMAL_PRIORITY_CLASS, NULL, NULL, si_w, &pi.pi); ERR_FAIL_COND_V(ret == 0, ERR_CANT_FORK); if (p_blocking) { |