mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-11 05:19:50 +01:00
Fix compile error.
This commit is contained in:
parent
84ccfb340a
commit
2199cba049
@ -53,10 +53,8 @@ Error SubProcessWindows::start() {
|
|||||||
String path = _executable_path.replace("/", "\\");
|
String path = _executable_path.replace("/", "\\");
|
||||||
|
|
||||||
String cmdline = _quote_command_line_argument(path);
|
String cmdline = _quote_command_line_argument(path);
|
||||||
const List<String>::Element *I = _arguments.front();
|
for (int i = 0; i < _arguments.size(); ++i) {
|
||||||
while (I) {
|
cmdline += " " + _quote_command_line_argument(_arguments[i]);
|
||||||
cmdline += " " + _quote_command_line_argument(I->get());
|
|
||||||
I = I->next();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ZeroMemory(&_process_info.si, sizeof(_process_info.si));
|
ZeroMemory(&_process_info.si, sizeof(_process_info.si));
|
||||||
@ -324,7 +322,6 @@ void SubProcessWindows::_append_to_pipe(char *p_bytes, int p_size) {
|
|||||||
|
|
||||||
SubProcessWindows::SubProcessWindows() :
|
SubProcessWindows::SubProcessWindows() :
|
||||||
SubProcess() {
|
SubProcess() {
|
||||||
|
|
||||||
_pipe_handles[0] = NULL;
|
_pipe_handles[0] = NULL;
|
||||||
_pipe_handles[1] = NULL;
|
_pipe_handles[1] = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user