logo separator

[mkgmap-dev] [PATCH] pink line in dead end street.

From Steve Ratcliffe steve at parabola.demon.co.uk on Sun Feb 15 11:25:47 GMT 2009

On Sun, Feb 15, 2009 at 10:52:03AM +0100, Johann Gail wrote:
>
>> But I made one change:
>>
>>   
>>> +            bits[bits.length] = false;
>>>     
>>
>> This surely must be: bits[bits.length-1] = false;
>>
>>   
> Youre right. I'm astonished that my code was running without exceptions.

Yes, so that line must not have run and so endsWithNode was never true.
So the change you saw must have come from changing the loop.

On looking at it when I'm less tired, I'm think that the loop is still
wrong.

..Steve



More information about the mkgmap-dev mailing list