Skip to content

Commit

Permalink
Removed a space in output to match convention
Browse files Browse the repository at this point in the history
  • Loading branch information
klingbolt committed Oct 31, 2023
1 parent ed628d4 commit 6189a4e
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion xml_converter/generators/cpp_templates/multiflagvalue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ string {{attribute_name}}_to_xml_attribute(const std::string& attribute_name, co
flag_values.push_back("{{attribute_variable.xml_fields[0]}}");
}
{% endfor %}
string output = join(flag_values, ", ");
string output = join(flag_values, ",");
return " " + attribute_name + "=\"" + output + "\"";
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<POIs>
<POI Type="mycategory" IconFile="texture.png" MapID="50" Mount="" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI Type="mycategory" IconFile="texture.png" MapID="50" Mount="" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI Type="mycategory" IconFile="texture.png" MapID="50" Mount="raptor, springer" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI Type="mycategory" IconFile="texture.png" MapID="50" Mount="raptor,springer" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
</POIs>
</OverlayData>
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

<POIs>
<POI Type="mycategory" IconFile="texture.png" MapID="50" Mount="raptor" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI Type="mycategory" IconFile="texture.png" MapID="50" Mount="raptor, springer" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI Type="mycategory" IconFile="texture.png" MapID="50" Mount="raptor, springer" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI Type="mycategory" IconFile="texture.png" MapID="50" Mount="raptor, springer, skimmer, jackal, griffon, rollerbeetle, warclaw, skyscale, skiff, seigeturtle" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI Type="mycategory" IconFile="texture.png" MapID="50" Mount="raptor,springer" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI Type="mycategory" IconFile="texture.png" MapID="50" Mount="raptor,springer" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
<POI Type="mycategory" IconFile="texture.png" MapID="50" Mount="raptor,springer,skimmer,jackal,griffon,rollerbeetle,warclaw,skyscale,skiff,seigeturtle" XPos="169.809998" YPos="210.649994" ZPos="215.830002"/>
</POIs>
</OverlayData>
2 changes: 1 addition & 1 deletion xml_converter/src/attribute/festival_filter_gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ string festival_filter_to_xml_attribute(const std::string& attribute_name, const
if (value->none == true) {
flag_values.push_back("none");
}
string output = join(flag_values, ", ");
string output = join(flag_values, ",");
return " " + attribute_name + "=\"" + output + "\"";
}

Expand Down
2 changes: 1 addition & 1 deletion xml_converter/src/attribute/map_type_filter_gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ string map_type_filter_to_xml_attribute(const std::string& attribute_name, const
if (value->wvw_lounge_map == true) {
flag_values.push_back("wvwlounge");
}
string output = join(flag_values, ", ");
string output = join(flag_values, ",");
return " " + attribute_name + "=\"" + output + "\"";
}

Expand Down
2 changes: 1 addition & 1 deletion xml_converter/src/attribute/mount_filter_gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ string mount_filter_to_xml_attribute(const std::string& attribute_name, const Mo
if (value->seige_turtle == true) {
flag_values.push_back("seigeturtle");
}
string output = join(flag_values, ", ");
string output = join(flag_values, ",");
return " " + attribute_name + "=\"" + output + "\"";
}

Expand Down
2 changes: 1 addition & 1 deletion xml_converter/src/attribute/profession_filter_gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ string profession_filter_to_xml_attribute(const std::string& attribute_name, con
if (value->revenant == true) {
flag_values.push_back("revenant");
}
string output = join(flag_values, ", ");
string output = join(flag_values, ",");
return " " + attribute_name + "=\"" + output + "\"";
}

Expand Down
2 changes: 1 addition & 1 deletion xml_converter/src/attribute/specialization_filter_gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ string specialization_filter_to_xml_attribute(const std::string& attribute_name,
if (value->warrior_tactics == true) {
flag_values.push_back("11");
}
string output = join(flag_values, ", ");
string output = join(flag_values, ",");
return " " + attribute_name + "=\"" + output + "\"";
}

Expand Down
2 changes: 1 addition & 1 deletion xml_converter/src/attribute/species_filter_gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ string species_filter_to_xml_attribute(const std::string& attribute_name, const
if (value->sylvari == true) {
flag_values.push_back("sylvari");
}
string output = join(flag_values, ", ");
string output = join(flag_values, ",");
return " " + attribute_name + "=\"" + output + "\"";
}

Expand Down

0 comments on commit 6189a4e

Please sign in to comment.