From 9edf273ba79d55becaad7c6a922fbd17aec2c406 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 11 Dec 2014 16:29:43 -0500 Subject: [PATCH] Removed error check in ScrollWindowEx() call for now pending a wine bug (https://bugs.winehq.org/show_bug.cgi?id=37706). --- wintable/new/hscroll.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wintable/new/hscroll.h b/wintable/new/hscroll.h index 9d644c5..f4efc37 100644 --- a/wintable/new/hscroll.h +++ b/wintable/new/hscroll.h @@ -22,7 +22,8 @@ static void hscrollto(struct table *t, intptr_t pos) if (ScrollWindowEx(t->hwnd, -(pos - t->hscrollpos), 0, &scrollArea, &scrollArea, NULL, NULL, SW_ERASE | SW_INVALIDATE) == ERROR) - panic("error horizontally scrolling Table"); +;// TODO failure case ignored for now; see https://bugs.winehq.org/show_bug.cgi?id=37706 +// panic("error horizontally scrolling Table"); // TODO call UpdateWindow()? t->hscrollpos = pos;