aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index ef99997..74e283f 100644
--- a/main.c
+++ b/main.c
@@ -16,7 +16,7 @@
/* So, TODO for now:
- Allow maps to have costs
- - Write out the amount of visited squares (to see how algorithms differ in
+ - Write out the amount of visited squares (to see how algorithms differ in
efficiency)
- Map editor function
- Rework the UI, probably completely
@@ -201,12 +201,12 @@ int main(int argc, char **argv) {
path = path_func(dirs, map, width, height, start_pos, end_pos, visited, anim);
}
break;
- case 'e':
+ case 'e':
is_maze = 0;
visited_free(visited, height);
path_free(path, height);
- map_editor(&map, &width, &height, &start_pos, &end_pos);
+ map_editor(&map, &width, &height, &start_pos, &end_pos);
wrefresh(curscr);
visited = visited_new(width, height);