diff options
author | HampusM <hampus@hampusmat.com> | 2021-12-31 15:13:41 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-12-31 15:13:41 +0100 |
commit | 256bb7928ed70af42395edeb0396b28ebb6d562c (patch) | |
tree | 3bbf58d854f48a7dcd058bfaab6da045c6e99b7c /src | |
parent | 6efa28e3d66cc7629b8d85f293a0518c21a15f0a (diff) |
style: fix formatting
Diffstat (limited to 'src')
-rw-r--r-- | src/maze.c | 3 | ||||
-rw-r--r-- | src/utils.c | 2 | ||||
-rw-r--r-- | src/utils.h | 2 |
3 files changed, 3 insertions, 4 deletions
@@ -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 |