As already commented in #1824 this is incorrect.

Running scripts with load_image() works again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24133 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-02-26 01:44:06 +00:00
parent 988e5c553f
commit 7539ff87da

View File

@ -33,7 +33,7 @@ load_image(int32 argCount, const char **args, const char **environ)
if (invoker[0]) {
status = __parse_invoke_line(invoker, &newArgs,
(char * const **)&args, &argCount, args[1]);
(char * const **)&args, &argCount, args[0]);
if (status < B_OK)
return status;
}