diff --git a/src/cell.c b/src/cell.c
index b76c00346c56b5c75d341ef03d7a7b337dd01a6a..f8722eccc55f662ef20d7762292b9798c5e0a157 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -4495,7 +4495,8 @@ struct spart *cell_add_spart(struct engine *e, struct cell *const c) {
    * current cell*/
   cell_recursively_shift_sparts(top, progeny, /* main_branch=*/1);
 
-  /* Make sure the gravity will be recomputed for this particle in the next step */
+  /* Make sure the gravity will be recomputed for this particle in the next step
+   */
   struct cell *top2 = c;
   while (top2->parent != NULL) {
     top2->grav.ti_end_min = e->ti_current;
diff --git a/src/space.c b/src/space.c
index 376087461a14bda8c0c4445c1a6d51c466e70284..4b568cf3e877f8504c3e7e166ae324b0f49bdefb 100644
--- a/src/space.c
+++ b/src/space.c
@@ -3124,7 +3124,7 @@ void space_recycle_list(struct space *s, struct cell *cell_list_begin,
     /* Clear the cell. */
     if (lock_destroy(&c->lock) != 0 || lock_destroy(&c->grav.plock) != 0 ||
         lock_destroy(&c->mlock) != 0 || lock_destroy(&c->stars.lock) != 0 ||
-	lock_destroy(&c->stars.star_formation_lock))
+        lock_destroy(&c->stars.star_formation_lock))
       error("Failed to destroy spinlocks.");
 
     /* Count this cell. */
@@ -3225,7 +3225,7 @@ void space_getcells(struct space *s, int nr_cells, struct cell **cells) {
         lock_init(&cells[j]->grav.plock) != 0 ||
         lock_init(&cells[j]->grav.mlock) != 0 ||
         lock_init(&cells[j]->stars.lock) != 0 ||
-	lock_init(&cells[j]->stars.star_formation_lock) != 0)
+        lock_init(&cells[j]->stars.star_formation_lock) != 0)
       error("Failed to initialize cell spinlocks.");
   }
 }