fixes and closes #914 and updates #907

This commit is contained in:
Dennis Luxen 2014-02-11 14:34:47 +01:00
parent 7794cd6274
commit ea30005762

View File

@ -97,7 +97,10 @@ struct RouteParameters {
}
void addHint(const std::string & s) {
hints.push_back(s);
hints.resize( coordinates.size() );
if( !hints.empty() ) {
hints.back() = s;
}
}
void setLanguage(const std::string & s) {