if(j!=inventory.end())
{
if(j->second<i->second)
- IO::print("track %d %d;\n", i->first, i->second-j->second);
+ IO::print("track \\%d %d;\n", i->first, i->second-j->second);
}
else
- IO::print("track %d %d;\n", i->first, i->second);
+ IO::print("track \\%d %d;\n", i->first, i->second);
}
IO::print("// Pre-existing:\n");
{
map<ArticleNumber, unsigned>::iterator j=inventory.find(i->first);
if(j!=inventory.end())
- IO::print("track %d %d;\n", i->first, min(i->second, j->second));
+ IO::print("track \\%d %d;\n", i->first, min(i->second, j->second));
}
IO::print("// Unused:\n");
if(j!=layout.end())
{
if(j->second<i->second)
- IO::print("track %d %d;\n", i->first, i->second-j->second);
+ IO::print("track \\%d %d;\n", i->first, i->second-j->second);
}
else
- IO::print("track %d %d;\n", i->first, i->second);
+ IO::print("track \\%d %d;\n", i->first, i->second);
}
return 0;