diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-11 16:29:43 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-11 16:29:43 -0500 |
| commit | 9edf273ba79d55becaad7c6a922fbd17aec2c406 (patch) | |
| tree | aed84253eab70535751ae5b7315a2a417b4bc56a | |
| parent | 3788cb730c2929f68f3b4bed17faef5e09c930c3 (diff) | |
Removed error check in ScrollWindowEx() call for now pending a wine bug (https://bugs.winehq.org/show_bug.cgi?id=37706).
| -rw-r--r-- | wintable/new/hscroll.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
