diff --git a/Plugins/RouteParameters.h b/Plugins/RouteParameters.h index d7028604f..e4fc99d7f 100644 --- a/Plugins/RouteParameters.h +++ b/Plugins/RouteParameters.h @@ -69,7 +69,8 @@ struct RouteParameters { } void addHint(const std::string & s) { - hints.push_back(s); + hints.resize(coordinates.size()); + hints.back() = s; } void setLanguage(const std::string & s) {