mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
StringView fix
This commit is contained in:
parent
57609543a3
commit
9e62f50027
1 changed files with 2 additions and 2 deletions
|
@ -928,7 +928,7 @@ BFP_EXPORT BfpSpawn* BFP_CALLTYPE BfpSpawn_Create(const char* inTargetPath, cons
|
|||
{
|
||||
if (firstCharIdx != -1)
|
||||
{
|
||||
stringViews.Add(Beefy::StringView(args, firstCharIdx, i - firstCharIdx));
|
||||
stringViews.Add(Beefy::StringView(args + firstCharIdx, i - firstCharIdx));
|
||||
firstCharIdx = -1;
|
||||
}
|
||||
}
|
||||
|
@ -947,7 +947,7 @@ BFP_EXPORT BfpSpawn* BFP_CALLTYPE BfpSpawn_Create(const char* inTargetPath, cons
|
|||
}
|
||||
}
|
||||
if (firstCharIdx != -1)
|
||||
stringViews.Add(Beefy::StringView(args, firstCharIdx, i - firstCharIdx));
|
||||
stringViews.Add(Beefy::StringView(args + firstCharIdx, i - firstCharIdx));
|
||||
|
||||
Beefy::Array<char*> argvArr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue