From 6e9ef7e2a6a5e107bc8b7714b3f2b01f9e49ce15 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 25 Aug 2014 13:42:29 -0400 Subject: [PATCH] Fixed a stupid typo. I'm an idiot. --- redo/table_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));