Kismet Wireless

Kismet Forums

 

Posted by:dragorn
Subject:logic error in gpsmap
Date:12:19:13 08/06/2007

> Hi :)
>
> I found a logic error in function DrawNetCenterDot of gpsmap. Asis the result is too big legend numbers when you specify coordinates and/or scale.
>
> To correct, the test to define if the dot is in the map (line 2367 in kismet-2007-01-R1b/gpsmap.cc) should have only && operators, ie no || operator. In english : both the latitude and longitude must be inside those of the map, not at least one of them.

Good catch,I'll check it out and make sure there aren't any side effects to that and put it in.

-m


Reply to this message