aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-12-31 15:13:41 +0100
committerHampusM <hampus@hampusmat.com>2021-12-31 15:13:41 +0100
commit256bb7928ed70af42395edeb0396b28ebb6d562c (patch)
tree3bbf58d854f48a7dcd058bfaab6da045c6e99b7c /src
parent6efa28e3d66cc7629b8d85f293a0518c21a15f0a (diff)
style: fix formatting
Diffstat (limited to 'src')
-rw-r--r--src/maze.c3
-rw-r--r--src/utils.c2
-rw-r--r--src/utils.h2
3 files changed, 3 insertions, 4 deletions
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