summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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,