[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ gpsdrive ] top_ mapimage display problem
> > > > Has the way that map images with top_ and map_ prefixes been
> > > > changed since ~June 2006?
..
> OK...i think i got it:
>
> src/map_projection.c contains a function map_projection, which is a
> series of the tests on the map filename, eg:
> else if (!strstr (filename, "_top/"))
> proj = proj_top;
> else if (!strstr (filename, "top_")) // For Compatibility
> proj = proj_top;
> ..etc
>
> but shouldn't those actually be without a '!':
> else if (strstr (filename, "_top/"))
> proj = proj_top;
please update gpsdrive/man/gpsdrive.1 and friends for _top, _map dirs
before closing bug # 114.
http://bugzilla.gpsdrive.cc/show_bug.cgi?id=114
(I haven't got SVN up and running yet)
Hamish
ps- shouldn't that second test be:
else if (!strncmp(filename, "top_", 4)) // For Compatibility
proj = proj_top;
(regex ^top* instead of *top*)
--
This message was part of the gpsdrive mailinglist
unsubscribing can be done by sending a mail containing a body of:
-quote--
unsubscribe gpsdrive
-unquote--
to majordomo@warbase.selwerd.nl