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:
Axel Dörfler 2004-10-07 14:42:25 +00:00
parent 2f54a688b0
commit 3a459a1998

View File

@ -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;