[Merkaartor] opening images is broken in SVN ("No Trackpoints found...")

Timo Schlüßler timo at schluessler.org
Tue May 5 09:43:11 BST 2009


Hi,

thank you for your hint. I just committed it.

regards,
timo

Daniel Hermann wrote:
> Hi,
>
> since revision 14681, the opening of images does not work for me any
> more. I open a track, then open a jpeg image, and enter the correct
> offset for it. The message I get is "No Trackpoints found for image
> ...".
>
> I found the bug in src/GeoImageDock.cpp. In revision 14681, "(unsigned
> int)-1/2" was converted to "(int)-1/2" in the code, which changed the
> meaning of this expression significantly (INT_MAX vs. 0).
>
> A patch is attached.
>
> cheers,
>
> Daniel
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Merkaartor mailing list
> Merkaartor at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/merkaartor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/merkaartor/attachments/20090505/992f2716/attachment.html>


More information about the Merkaartor mailing list