summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-14 17:29:32 -0500
committerPietro Gagliardi <[email protected]>2014-12-14 17:29:32 -0500
commite246a9bd5f2440332514743ef88d57b754132b0c (patch)
treef2c7adc03ad28204dc24aea3f591cba35e97fb64
parent8fba540a1c4f2f9e52858b79c0ab985697bc0696 (diff)
More TODOs.
-rw-r--r--wintable/new/select.h2
1 files changed, 1 insertions, 1 deletions
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