From 77cb8f058dcf9d6a5ac59cc6c791a2e9e6df61b6 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Mon, 20 Feb 2017 19:40:37 +0100 Subject: [PATCH] Replace misuse of list iteration (cherry picked from commit 0cd309c5c7b75c9414902aa1fe057c894d6d3f42) --- platform/windows/os_windows.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index ec3d9e3f7bc..33408fe97fc 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -1972,10 +1972,10 @@ Error OS_Windows::execute(const String& p_path, const List& p_arguments, String argss; argss="\"\""+p_path+"\""; + + for (const List::Element* E=p_arguments.front(); E; E=E->next()) { - for(int i=0;iget()+"\""; } // print_line("ARGS: "+argss);