浏览代码

Fixed typo that made input arguments vanish on Windows.

David Piuva 3 年之前
父节点
当前提交
3a6ea78f22
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Source/DFPSR/api/fileAPI.cpp

+ 2 - 2
Source/DFPSR/api/fileAPI.cpp

@@ -745,10 +745,10 @@ DsrProcess process_execute(const ReadableString& programPath, List<String> argum
 	#endif
 	String flattenedArguments;
 	string_append(flattenedArguments, programPath);
-	string_appendChar(flattenedArguments, U'\0');
+	string_appendChar(flattenedArguments, separator);
 	for (int64_t a = 0; a < arguments.length(); a++) {
 		string_append(flattenedArguments, arguments[a]);
-		string_appendChar(flattenedArguments, U'\0');
+		string_appendChar(flattenedArguments, separator);
 	}
 	Buffer argBuffer;
 	const NativeChar *nativeArgs = toNativeString(flattenedArguments, argBuffer);