summaryrefslogtreecommitdiff
path: root/wintable/new/coord.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-21 02:09:09 -0500
committerPietro Gagliardi <[email protected]>2014-12-21 02:09:09 -0500
commit0c216088531dc7a8b400cd93911bd031ff987107 (patch)
tree2c59be677fe30302768367ad0c7fcceaca644536 /wintable/new/coord.h
parent89fb2e8c6c33fa040138a52df06c56b2cea78131 (diff)
Made toCheckboxRect() take the xoff parameter too.
Diffstat (limited to 'wintable/new/coord.h')
-rw-r--r--wintable/new/coord.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wintable/new/coord.h b/wintable/new/coord.h
index f0a0ec2..52a70c9 100644
--- a/wintable/new/coord.h
+++ b/wintable/new/coord.h
@@ -161,4 +161,4 @@ static void toCellContentRect(struct table *t, RECT *r, LRESULT xoff, intptr_t w
r->bottom = r->top + height;
}
-#define toCheckboxRect(t, r) toCellContentRect(t, r, 0, t->checkboxWidth, t->checkboxHeight)
+#define toCheckboxRect(t, r, xoff) toCellContentRect(t, r, xoff, t->checkboxWidth, t->checkboxHeight)