Fix target name displaying when cesu

This commit is contained in:
Aoran Zeng
2024-08-16 19:06:16 +08:00
parent 4bdce5ca83
commit 9d16a50c55
2 changed files with 9 additions and 25 deletions

View File

@@ -360,7 +360,7 @@ get_target (const char *input, TargetOp code, char *option)
}
else if (TargetOp_Cesu_Source==code)
{
auto_select_ (target->sources, target->sources_n, input-3);
auto_select_ (target->sources, target->sources_n, input);
return true;
}
return true;