diff options
Diffstat (limited to 'src/mazerator.c')
-rw-r--r-- | src/mazerator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mazerator.c b/src/mazerator.c index 593d518..c624dc3 100644 --- a/src/mazerator.c +++ b/src/mazerator.c @@ -1,5 +1,5 @@ -#include "maze.h" #include "grid.h" +#include "maze.h" #include "position.h" #include "utils.h" #include <getopt.h> @@ -68,7 +68,7 @@ int main(int argc, char *argv[]) { case 'w': maze_width = str_to_uint(optarg, &err); - + if (err != NULL) optarg_error(arg, err); @@ -78,7 +78,7 @@ int main(int argc, char *argv[]) break; case 'h': maze_height = str_to_uint(optarg, &err); - + if (err != NULL) optarg_error(arg, err); |