summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-02-05 01:03:04 -0500
committerPietro Gagliardi <[email protected]>2015-02-05 01:03:04 -0500
commitd7c6fc0a7fbbd3f0a67eb7c8821e89ce5b118f7f (patch)
tree6b349e1bcb29f6bd69dce68fb1c78c31e78746c2
parent3a742b136a2c5d468e9f75ac4d192fc2e81eae62 (diff)
Fixed error in updateAll().
-rw-r--r--wintable/update.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wintable/update.h b/wintable/update.h
index edf4b40..dae4811 100644
--- a/wintable/update.h
+++ b/wintable/update.h
@@ -48,6 +48,6 @@ static void update(struct table *t, BOOL redraw)
static void updateAll(struct table *t)
{
update(t, TRUE);
- if (InvalidateRect(t, NULL, TRUE) == 0)
+ if (InvalidateRect(t->hwnd, NULL, TRUE) == 0)
panic("error queueing all of Table for redraw in updateAll()");
}