diff --git a/xml_converter/intigration_tests/expected_outputs/xml_can_fade_invalid/xml_file.xml b/xml_converter/intigration_tests/expected_outputs/xml_can_fade_invalid/xml_file.xml index 98fc5d35..30e1dcdb 100644 --- a/xml_converter/intigration_tests/expected_outputs/xml_can_fade_invalid/xml_file.xml +++ b/xml_converter/intigration_tests/expected_outputs/xml_can_fade_invalid/xml_file.xml @@ -3,6 +3,6 @@ - + diff --git a/xml_converter/src/attribute/bool.cpp b/xml_converter/src/attribute/bool.cpp index 1e63b310..f011bb94 100644 --- a/xml_converter/src/attribute/bool.cpp +++ b/xml_converter/src/attribute/bool.cpp @@ -40,7 +40,7 @@ void xml_attribute_to_bool( // Converts a bool into a fully qualified xml attribute string. //////////////////////////////////////////////////////////////////////////////// string bool_to_xml_attribute(const string& attribute_name, const bool* value) { - if (value) { + if (*value) { return " " + attribute_name + "=\"true\""; } else {