diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-06-12 18:07:40 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-06-12 18:07:40 +0300 |
| commit | 8322d7ee4a75beecb5285d21641851e17fdab97f (patch) | |
| tree | ac546ad19ad3b41d9247df83f9716cd7391f7903 | |
| parent | 1440b15c05dc62914c526dfda35d7b2a4a1bee67 (diff) | |
| download | astar-8322d7ee4a75beecb5285d21641851e17fdab97f.tar.xz | |
Use EXIT_SUCCESS
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |
