Skip to content

Commit

Permalink
Add missing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
zedr committed Oct 4, 2023
1 parent e33934b commit 18058d5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/tinycols/game_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ unsigned short get_level_by_jewels(uint_least16_t num);
*/
game_score_t calc_score(unsigned int jewel_count);

#endif //TINYCOLS_GAME_UTILS_H
#endif //TINYCOLS_GAME_UTILS_H
2 changes: 1 addition & 1 deletion src/tinycols/game.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ void game_free(struct game *gm)
{
free(gm->grid);
free(gm);
}
}
2 changes: 1 addition & 1 deletion src/tinycols/game_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ unsigned short get_level_by_jewels(uint_least16_t num)
inline game_score_t calc_score(unsigned int jewel_count)
{
return (jewel_count - PIECE_SIZE + 1) * GAME_SCORE_PER_PIECE;
}
}
2 changes: 1 addition & 1 deletion src/tinycols/grid.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ game_score_t grid_scan(const struct grid *gr, uint8_t *result)
}

return score;
}
}
2 changes: 1 addition & 1 deletion src/tinycols/piece.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ bool position_piece_in_grid(struct piece *pc, const struct grid *gr)
}

return true;
}
}

0 comments on commit 18058d5

Please sign in to comment.