The internally used copy_arguments() accidently left out the first argument.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9240 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2f54a688b0
commit
3a459a1998
@ -36,8 +36,8 @@ copy_arguments(va_list list, const char **args, const char *arg)
|
|||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
||||||
while (arg != NULL) {
|
while (arg != NULL) {
|
||||||
arg = va_arg(list, const char *);
|
|
||||||
args[count++] = arg;
|
args[count++] = arg;
|
||||||
|
arg = va_arg(list, const char *);
|
||||||
}
|
}
|
||||||
|
|
||||||
args[count] = NULL;
|
args[count] = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user