Skip to content
Snippets Groups Projects
Commit 00217dd8 authored by Yorhel's avatar Yorhel
Browse files

Fixed segfault on specifying a dir to process from cli

parent 124296ee
No related branches found
No related tags found
No related merge requests found
...@@ -141,8 +141,6 @@ int main(int argc, char **argv) { ...@@ -141,8 +141,6 @@ int main(int argc, char **argv) {
dir = path_real("."); dir = path_real(".");
calc_init(dir, NULL); calc_init(dir, NULL);
if(dir < argv[0] || dir > argv[argc])
free(dir);
initscr(); initscr();
cbreak(); cbreak();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment