Got rid of a bogus assignment to t->hpagesize.
This commit is contained in:
parent
35519ab61c
commit
a565469260
|
@ -32,8 +32,6 @@ static void hscrollto(struct table *t, intptr_t pos)
|
||||||
ZeroMemory(&si, sizeof (SCROLLINFO));
|
ZeroMemory(&si, sizeof (SCROLLINFO));
|
||||||
si.cbSize = sizeof (SCROLLINFO);
|
si.cbSize = sizeof (SCROLLINFO);
|
||||||
si.fMask = SIF_PAGE | SIF_POS | SIF_RANGE;
|
si.fMask = SIF_PAGE | SIF_POS | SIF_RANGE;
|
||||||
// the width of scrollArea is unchanged here; use it
|
|
||||||
t->hpagesize = scrollArea.right - scrollArea.left;
|
|
||||||
si.nPage = t->hpagesize;
|
si.nPage = t->hpagesize;
|
||||||
si.nMin = 0;
|
si.nMin = 0;
|
||||||
si.nMax = t->width - 1; // endpoint inclusive
|
si.nMax = t->width - 1; // endpoint inclusive
|
||||||
|
|
Loading…
Reference in New Issue