diff --git a/src/txt2script/txt2script.cpp b/src/txt2script/txt2script.cpp index ebea44d..5ac4c43 100644 --- a/src/txt2script/txt2script.cpp +++ b/src/txt2script/txt2script.cpp @@ -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); }