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] == '*')
|
||||
sample = std::string(trimmedSample);
|
||||
else
|
||||
sample = absl::StrCat(defaultPath, absl::StrReplaceAll(trim(opcode.value), { { "\\", "/" } }));
|
||||
sample = absl::StrCat(defaultPath, absl::StrReplaceAll(trimmedSample, { { "\\", "/" } }));
|
||||
}
|
||||
break;
|
||||
case hash("delay"):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue