Skip to content

Commit

Permalink
Fix off-by-one error, was not including the highest datasource name u…
Browse files Browse the repository at this point in the history
…sed.
  • Loading branch information
danpat committed Mar 15, 2016
1 parent e8c737d commit b8b037b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/plugins/tile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ Status TilePlugin::HandleRequest(const api::TileParameters &parameters, std::str
// Attribute value 7 == bool type
values_writer.add_bool(7, false);
}
for (std::size_t i = 0; i < max_datasource_id; i++)
for (std::size_t i = 0; i <= max_datasource_id; i++)
{
{
// Writing field type 4 == variant type
Expand Down

0 comments on commit b8b037b

Please sign in to comment.