diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-12 14:16:55 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-12 14:16:55 -0500 |
| commit | a565469260dc3a15c3138325576b181bd11d970b (patch) | |
| tree | 7dcff5d605bb5b87fb2990f2b7450ddc70b882ba | |
| parent | 35519ab61c5f6c9120a0cc9e8f0e84711b55feb1 (diff) | |
Got rid of a bogus assignment to t->hpagesize.
| -rw-r--r-- | wintable/new/hscroll.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/wintable/new/hscroll.h b/wintable/new/hscroll.h index f4efc37..7c08656 100644 --- a/wintable/new/hscroll.h +++ b/wintable/new/hscroll.h @@ -32,8 +32,6 @@ static void hscrollto(struct table *t, intptr_t pos) ZeroMemory(&si, sizeof (SCROLLINFO)); si.cbSize = sizeof (SCROLLINFO); 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.nMin = 0; si.nMax = t->width - 1; // endpoint inclusive |
