mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-14 17:33:25 +00:00
Misc.
This commit is contained in:
parent
55e95ba805
commit
98425912c2
1 changed files with 2 additions and 0 deletions
|
|
@ -52,6 +52,8 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
for (auto &&line : lines) {
|
||||
boost::to_upper(line); // can be bad?
|
||||
boost::trim(line);
|
||||
boost::replace_all(line, " ", ""); // can be bad?
|
||||
memcpy((char *)s.p, line.c_str(), line.size() + 1);
|
||||
s.skip(line.size() + 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue