Removed error check in ScrollWindowEx() call for now pending a wine bug (https://bugs.winehq.org/show_bug.cgi?id=37706).

This commit is contained in:
Pietro Gagliardi 2014-12-11 16:29:43 -05:00
parent 3788cb730c
commit 9edf273ba7
1 changed files with 2 additions and 1 deletions

View File

@ -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;