aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index a83dadd..cb183b7 100644
--- a/main.c
+++ b/main.c
@@ -421,10 +421,10 @@ int main(int argc, char **argv) {
case KEY_RESIZE: clear(); break;
- case KEYBINDING_QUIT: cost_free(cell_costs, height); visited_free(visited, height); map_free(map, height); path_free(path, height); endwin(); return 0;
+ case KEYBINDING_QUIT: cost_free(cell_costs, height); visited_free(visited, height); map_free(map, height); path_free(path, height); endwin(); return EXIT_SUCCESS;
}
}
endwin();
- return 0;
+ return EXIT_SUCCESS;
}