Skip to content

Commit

Permalink
Fix typo of word 'inaccuracy'
Browse files Browse the repository at this point in the history
  • Loading branch information
Costava committed Aug 18, 2020
1 parent 81e30ab commit ba17007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ void game_setup(struct game *const game) {
for (double x = -(half_num_columns + 1)
* (brick_size_x + 2.0 * brick_margin_x);
x <= half_num_columns * (brick_size_x + 2.0 * brick_margin_x)
+ 1.0 /* +1 because floating point inaccurary */;
+ 1.0 /* +1 because floating point inaccuracy */;
x += brick_size_x + 2.0 * brick_margin_x)
{
struct brick *brick = easy_malloc(sizeof(struct brick));
Expand Down

0 comments on commit ba17007

Please sign in to comment.