summaryrefslogtreecommitdiff
path: root/redo/table_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-25 13:42:29 -0400
committerPietro Gagliardi <[email protected]>2014-08-25 13:42:29 -0400
commit6e9ef7e2a6a5e107bc8b7714b3f2b01f9e49ce15 (patch)
tree8941652a98da9395d613af84420fbe5a5bfbcbaa /redo/table_windows.c
parent774e4519673cb81c07d3f87f74e4a41755d83051 (diff)
Fixed a stupid typo. I'm an idiot.
Diffstat (limited to 'redo/table_windows.c')
-rw-r--r--redo/table_windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/table_windows.c b/redo/table_windows.c
index 28d606f..25cc81b 100644
--- a/redo/table_windows.c
+++ b/redo/table_windows.c
@@ -109,7 +109,7 @@ void setTableSubclass(HWND hwnd, void *data)
{
struct tableData *t;
- t = (struct tableData *) malloc(sizeof (struct tableData *));
+ t = (struct tableData *) malloc(sizeof (struct tableData));
if (t == NULL)
xpanic("error allocating structure for Table extra data", GetLastError());
ZeroMemory(t, sizeof (struct tableData));