From e246a9bd5f2440332514743ef88d57b754132b0c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 14 Dec 2014 17:29:32 -0500 Subject: [PATCH] More TODOs. --- wintable/new/select.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wintable/new/select.h b/wintable/new/select.h index 58cd1f5..7ead86f 100644 --- a/wintable/new/select.h +++ b/wintable/new/select.h @@ -49,7 +49,7 @@ static void doselect(struct table *t, intptr_t row, intptr_t column) clientWidth = client.right - client.left; if (xpos + width > t->hscrollpos + clientWidth) // > because both sides deal with the first pixel outside // if the column is too wide, then just make it occupy the whole visible area (left-aligned) - if (width > clientWidth) + if (width > clientWidth) // TODO >= ? hscrollto(t, xpos); else // TODO this formula is wrong