diff options
| author | Matthias Melcher <github@matthiasm.com> | 2018-12-28 16:21:48 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-28 16:21:48 -0800 |
| commit | 6097bde83cfbaadf2247ae25c9272ee4a821fb35 (patch) | |
| tree | ebaf596a5c019a192878ab54da41283540471aa8 /test | |
| parent | 59612f6e7ec1c35d8fa23eee6e9c0c41a2ed3a80 (diff) | |
| parent | 29fe0c43df7bad2df0f4445994b9d5d851bc2cdb (diff) | |
Merge pull request #10 from MatthiasWM/master
Updated macOS build documentation for 1.4
Diffstat (limited to 'test')
| -rw-r--r-- | test/blocks.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/blocks.cxx b/test/blocks.cxx index c7d3979ed..6135313ba 100644 --- a/test/blocks.cxx +++ b/test/blocks.cxx @@ -771,7 +771,7 @@ int BlockWindow::handle(int event) { b = 0; for (j = 0, c = columns_; !count && j < num_columns_; j ++, c ++) - for (k = 0, b = c->blocks; !count && k < c->num_blocks; k ++, b ++) + for (k = 0, b = c->blocks; k < c->num_blocks; k ++, b ++) if (mx >= c->x && mx < (c->x + BLOCK_SIZE) && my >= b->y && my < (b->y + BLOCK_SIZE)) { if (b->bomb) count = bomb(b->color); |
