Commit db9a1d5b authored by Yann Boucher's avatar Yann Boucher
Browse files

Fixed a bug with RLEStructureWriter

parent af3b1090
Pipeline #78945 passed with stages
in 42 seconds
......@@ -48,7 +48,7 @@ std::string RLEStructureWriter::save_structure(const Structure& s) const
if (!s.author.empty() || !s.date.empty())
result += "#O " + s.author + " " + s.date + "\n";
if (!s.desc.empty())
result += "#C " + s.desc;
result += "#C " + s.desc + "\n";
result += "x = " + std::to_string(s.width()) + ", ";
result += "y = " + std::to_string(s.height()) + "\n";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment