diff options
author | Adam NAILI | 2018-01-03 19:40:51 +0100 |
---|---|---|
committer | Adam NAILI | 2018-01-03 19:40:51 +0100 |
commit | 2f3d8ebc9b5e10e56bed5da316f5ef098dda0997 (patch) | |
tree | e2df4b6eaf81cb72f6fef75f6cf7324b0e671f23 /src/main.c | |
parent | 54dac24c8f7be833124a90bafdca78810fc0d96a (diff) | |
download | morpher-2f3d8ebc9b5e10e56bed5da316f5ef098dda0997.tar.gz |
Updating documentation, cleaning includes, updating report
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ | |||
1 | #include <stdlib.h> | 1 | #include <stdlib.h> |
2 | #include <stdio.h> | 2 | #include <stdio.h> |
3 | #include <gui/gui.h> | 3 | #include "gui/gui.h" |
4 | #include <MLV/MLV_path.h> | 4 | #include "MLV/MLV_path.h" |
5 | 5 | ||
6 | int main(int argc, char **argv) { | 6 | int main(int argc, char **argv) { |
7 | if (argc < 3) { | 7 | if (argc < 3) { |
@@ -16,10 +16,10 @@ int main(int argc, char **argv) { | |||
16 | fprintf(stderr, "One path is incorrect\n"); | 16 | fprintf(stderr, "One path is incorrect\n"); |
17 | exit(-3); | 17 | exit(-3); |
18 | }; | 18 | }; |
19 | GUI *gui = gui_init(argv[1], argv[2]); | 19 | GUI *gui = gui_create(argv[1], argv[2]); |
20 | while (mode != EXITING) { | 20 | while (mode != EXITING) { |
21 | gui_handle_event(gui); | 21 | gui_handle_event(gui); |
22 | } | 22 | } |
23 | gui_free(gui); | 23 | gui_destroy(gui); |
24 | return 0; | 24 | return 0; |
25 | } | 25 | } |