More TODOs.

This commit is contained in:
Pietro Gagliardi 2014-12-14 17:29:32 -05:00
parent 8fba540a1c
commit e246a9bd5f
1 changed files with 1 additions and 1 deletions

View File

@ -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