silly typo always gave instructions

This commit is contained in:
Dennis Luxen 2011-05-13 14:47:31 +00:00
parent 243fc2664a
commit d531c5beb5

View File

@ -309,7 +309,7 @@ public:
} }
reply.content += "],"; reply.content += "],";
reply.content += "\"route_instructions\": ["; reply.content += "\"route_instructions\": [";
if(config.geometry || config.instructions) { if(config.instructions) {
reply.content += routeInstructionString; reply.content += routeInstructionString;
} }
reply.content += "],"; reply.content += "],";