From: Zaxl <za...@us...> - 2007-10-28 19:38:02
|
Update of /cvsroot/navit/navit/src/data/garmin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31286 Modified Files: gar2navit.c Log Message: Fix id range check Index: gar2navit.c =================================================================== RCS file: /cvsroot/navit/navit/src/data/garmin/gar2navit.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** gar2navit.c 25 Oct 2007 19:00:14 -0000 1.2 --- gar2navit.c 28 Oct 2007 19:37:17 -0000 1.3 *************** *** 221,225 **** while (def) { if ((!def->maxid && def->id == id) || ! (def->id <= id && def->maxid)) return def->ntype; def = def->next; --- 221,225 ---- while (def) { if ((!def->maxid && def->id == id) || ! (def->id <= id && id <= def->maxid)) return def->ntype; def = def->next; |