summaryrefslogtreecommitdiff
path: root/wintable/new/draw.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-20 21:10:44 -0500
committerPietro Gagliardi <[email protected]>2014-12-20 21:10:44 -0500
commit89fb2e8c6c33fa040138a52df06c56b2cea78131 (patch)
treebe675f49cc072e3fb805bed8ee2f5a78ab05ae0f /wintable/new/draw.h
parent3cb96de1628495f176d9e7fe4104b8c6cca36635 (diff)
toItemContentRect() -> toCellContentRect() (consistency)
Diffstat (limited to 'wintable/new/draw.h')
-rw-r--r--wintable/new/draw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wintable/new/draw.h b/wintable/new/draw.h
index a4bd22d..2834ce7 100644
--- a/wintable/new/draw.h
+++ b/wintable/new/draw.h
@@ -44,7 +44,7 @@ static void drawCell(struct table *t, HDC dc, struct drawCellParams *p)
switch (t->columnTypes[p->column]) {
case tableColumnText:
case tableColumnImage: // TODO
- toItemContentRect(t, &r, p->xoff, 0, 0); // TODO get the text height
+ toCellContentRect(t, &r, p->xoff, 0, 0); // TODO get the text height
if (SetTextColor(dc, GetSysColor(textColor)) == CLR_INVALID)
panic("error setting Table cell text color");
if (SetBkMode(dc, TRANSPARENT) == 0)