Commit 1c9e1f34 authored by Fatih Aşıcı's avatar Fatih Aşıcı Committed by Alexandre Julliard

start.exe: build_args now returns the correct string when no parameter

is passed.
parent a8ef244b
......@@ -109,6 +109,7 @@ static char *build_args( int argc, char **argv )
for (i = 0; i < argc; i++ )
len += strlen(argv[i]) + 1;
ret = HeapAlloc( GetProcessHeap(), 0, len );
ret[0] = 0;
for (i = 0, p = ret; i < argc; i++ )
p += sprintf(p, " %s", argv[i]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment