summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-05-23 13:37:06 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2017-05-23 13:37:06 (GMT)
commit79cde2cefbec54ea08ec854471aa06cdc5c367d6 (patch)
tree5536c282fc739d8e30437cd9afc7725704496879
parentd6c07925417eaea27c85996bc243f93e27b1bcd0 (diff)
downloadnetsurf-79cde2cefbec54ea08ec854471aa06cdc5c367d6.tar.gz
netsurf-79cde2cefbec54ea08ec854471aa06cdc5c367d6.tar.bz2
fixup windows invalidate call
-rw-r--r--frontends/windows/corewindow.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/frontends/windows/corewindow.c b/frontends/windows/corewindow.c
index c13ff48..a121219 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,