forked from cory/tildefriends
Fix android argv.
This commit is contained in:
parent
ddce88dce6
commit
9aa0617aa1
@ -662,11 +662,11 @@ int main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
if (strcmp(argv[1], "run") == 0)
|
if (strcmp(argv[1], "run") == 0)
|
||||||
{
|
{
|
||||||
result = _tf_command_run(argv[0], argc - 2, argv + 2);
|
result = _tf_command_run(argv[0], argc - 1, argv + 1);
|
||||||
}
|
}
|
||||||
else if (strcmp(argv[1], "sandbox") == 0)
|
else if (strcmp(argv[1], "sandbox") == 0)
|
||||||
{
|
{
|
||||||
result = _tf_command_sandbox(argv[0], argc - 2, argv + 2);
|
result = _tf_command_sandbox(argv[0], argc - 1, argv + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tf_mem_shutdown();
|
tf_mem_shutdown();
|
||||||
|
Loading…
Reference in New Issue
Block a user