No need to trim the sample twice
This commit is contained in:
parent
dc879a8a07
commit
6b08baaab6
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ bool sfz::Region::parseOpcode(const Opcode& opcode)
|
||||||
if (trimmedSample[0] == '*')
|
if (trimmedSample[0] == '*')
|
||||||
sample = std::string(trimmedSample);
|
sample = std::string(trimmedSample);
|
||||||
else
|
else
|
||||||
sample = absl::StrCat(defaultPath, absl::StrReplaceAll(trim(opcode.value), { { "\\", "/" } }));
|
sample = absl::StrCat(defaultPath, absl::StrReplaceAll(trimmedSample, { { "\\", "/" } }));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case hash("delay"):
|
case hash("delay"):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue