diff options
author | nicm <nicm> | 2014-01-15 11:44:18 +0000 |
---|---|---|
committer | nicm <nicm> | 2014-01-15 11:44:18 +0000 |
commit | 3368b602a868eb6570c4ee92f45c2e0ee78631cb (patch) | |
tree | e2c162ef1b2e2d91bf51e6497714c7064b96c830 /grid.c | |
parent | b185449d073b376eb305ff2a68d87fd82ed56377 (diff) |
Couple of fixes from cppcheck via Tiago Cunha.
Diffstat (limited to 'grid.c')
-rw-r--r-- | grid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,7 +124,7 @@ grid_compare(struct grid *ga, struct grid *gb) struct grid_cell *gca, *gcb; u_int xx, yy; - if (ga->sx != gb->sx || ga->sy != ga->sy) + if (ga->sx != gb->sx || ga->sy != gb->sy) return (1); for (yy = 0; yy < ga->sy; yy++) { |