From a565469260dc3a15c3138325576b181bd11d970b Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 12 Dec 2014 14:16:55 -0500 Subject: [PATCH] Got rid of a bogus assignment to t->hpagesize. --- wintable/new/hscroll.h | 2 -- 1 file changed, 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