Skip to content

Commit

Permalink
Merge pull request #192 from klingbolt/bool_fix
Browse files Browse the repository at this point in the history
Fixed boolean stringification
  • Loading branch information
AsherGlick authored Oct 31, 2023
2 parents 73ae206 + 0e4d980 commit 4671c02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
</MarkerCategory>

<POIs>
<POI CanFade="false" Type="mycategory" IconFile="texture.png" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI Type="mycategory" IconFile="texture.png" MapID="50" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
</POIs>
</OverlayData>
2 changes: 1 addition & 1 deletion xml_converter/src/attribute/bool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4671c02

Please sign in to comment.