From 256bb7928ed70af42395edeb0396b28ebb6d562c Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 31 Dec 2021 15:13:41 +0100 Subject: style: fix formatting --- src/maze.c | 3 +-- src/utils.c | 2 +- src/utils.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/maze.c b/src/maze.c index d2d7202..92e7fc8 100644 --- a/src/maze.c +++ b/src/maze.c @@ -38,8 +38,7 @@ struct Maze maze_create(struct Dimensions dimens, char *wall) struct Dimensions full_dimens = { .width = dimens.width * 2 + 1, - .height = dimens.height * 2 + 1 - }; + .height = dimens.height * 2 + 1}; maze.full_dimens = full_dimens; diff --git a/src/utils.c b/src/utils.c index ce3dcd4..93f7c53 100644 --- a/src/utils.c +++ b/src/utils.c @@ -14,4 +14,4 @@ int is_number(char *str) return 0; } return 1; -} \ No newline at end of file +} diff --git a/src/utils.h b/src/utils.h index 357f0d2..a1b69e1 100644 --- a/src/utils.h +++ b/src/utils.h @@ -3,4 +3,4 @@ int is_number(char *str); -#endif \ No newline at end of file +#endif -- cgit v1.2.3-18-g5258