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