Decompile fn_10415 (SplitMessageArguments)
Batch #14782 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_10415 SplitMessageArguments: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Tanke, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
a5a0023d4d
commit
9a80eaf6ec
1 changed files with 2 additions and 2 deletions
|
|
@ -490,13 +490,13 @@ static void SplitMessageArguments(const char* text, std::vector<std::string>& ar
|
|||
|
||||
while (separator != std::string::npos) {
|
||||
std::string argument = remaining.substr(0, separator);
|
||||
arguments.emplace_back(argument.data(), argument.size());
|
||||
arguments.push_back(argument);
|
||||
remaining = remaining.substr(separator + 1);
|
||||
separator = remaining.find(',');
|
||||
}
|
||||
|
||||
if (!remaining.empty()) {
|
||||
arguments.emplace_back(remaining.data(), remaining.size());
|
||||
arguments.push_back(remaining);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue