summaryrefslogtreecommitdiff
path: root/navit/maptool/boundaries.c
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2014-05-29 13:36:26 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2014-05-29 13:36:26 +0000
commit506702ec250d3bf9816717379e0d025c12177259 (patch)
tree9f3241efe4a8e6287eb35c2fca9229ae27050ddb /navit/maptool/boundaries.c
parent2d10c05d437a2e02b110ac60d54d965d9639b80c (diff)
downloadnavit-506702ec250d3bf9816717379e0d025c12177259.tar.gz
Refactor:maptool:Better names, add comments, remove unused parameter.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5785 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/maptool/boundaries.c')
-rw-r--r--navit/maptool/boundaries.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/maptool/boundaries.c b/navit/maptool/boundaries.c
index 8ffb33842..ca91fa82d 100644
--- a/navit/maptool/boundaries.c
+++ b/navit/maptool/boundaries.c
@@ -268,7 +268,7 @@ process_boundaries_finish(GList *boundaries_list)
c++;
}
if (f) {
- struct item_bin *ib=item_bin;
+ struct item_bin *ib=tmp_item_bin;
item_bin_init(ib, type_selected_line);
item_bin_add_coord(ib, gs->first, gs->last-gs->first+1);
item_bin_write(ib, f);
@@ -281,7 +281,7 @@ process_boundaries_finish(GList *boundaries_list)
fu=tempfile("",name,1);
g_free(name);
}
- ib=item_bin;
+ ib=tmp_item_bin;
item_bin_init(ib, type_selected_point);
item_bin_add_coord(ib, gs->first, 1);
item_bin_write(ib, fu);
@@ -344,7 +344,7 @@ process_boundaries(FILE *boundaries, FILE *ways)
struct relations *relations=relations_new();
boundaries_list=process_boundaries_setup(boundaries, relations);
- relations_process(relations, NULL, ways, NULL);
+ relations_process(relations, NULL, ways);
relations_destroy(relations);
return process_boundaries_finish(boundaries_list);
}