BOSS report now skips the display of any uncalculated CRCs.

This commit is contained in:
WrinklyNinja
2013-09-15 21:08:45 +01:00
parent f50494f650
commit 65fa3150be
+6 -4
View File
@@ -339,10 +339,12 @@ namespace boss {
node.append_attribute("class").set_value("mod");
node.text().set(it->Name().c_str());
node = plugin.append_child();
node.set_name("span");
node.append_attribute("class").set_value("crc");
node.text().set(("CRC: " + IntToHexString(it->Crc())).c_str());
if (it->Crc() != 0) {
node = plugin.append_child();
node.set_name("span");
node.append_attribute("class").set_value("crc");
node.text().set(("CRC: " + IntToHexString(it->Crc())).c_str());
}
if (!it->Version().empty()) {
node = plugin.append_child();