diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-05-23 14:37:06 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-05-23 14:37:06 +0100 |
commit | 79cde2cefbec54ea08ec854471aa06cdc5c367d6 (patch) | |
tree | 5536c282fc739d8e30437cd9afc7725704496879 /frontends | |
parent | d6c07925417eaea27c85996bc243f93e27b1bcd0 (diff) | |
download | netsurf-79cde2cefbec54ea08ec854471aa06cdc5c367d6.tar.gz netsurf-79cde2cefbec54ea08ec854471aa06cdc5c367d6.tar.bz2 |
fixup windows invalidate call
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/windows/corewindow.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/frontends/windows/corewindow.c b/frontends/windows/corewindow.c index c13ff485d..a12121973 100644 --- a/frontends/windows/corewindow.c +++ b/frontends/windows/corewindow.c @@ -326,8 +326,6 @@ nsw32_cw_invalidate_area(struct core_window *cw, const struct rect *rect) RECT *redrawrectp = NULL; RECT redrawrect; - assert(gw != NULL); - if (rect != NULL) { redrawrectp = &redrawrect; @@ -397,7 +395,7 @@ nsw32_cw_drag_status(struct core_window *cw, core_window_drag_status ds) struct core_window_callback_table nsw32_cw_cb_table = { - .invalidate = nsw32_cw_invalidate, + .invalidate = nsw32_cw_invalidate_area, .update_size = nsw32_cw_update_size, .scroll_visible = nsw32_cw_scroll_visible, .get_window_dimensions = nsw32_cw_get_window_dimensions, |