Fixed a stupid typo. I'm an idiot.

This commit is contained in:
Pietro Gagliardi 2014-08-25 13:42:29 -04:00
parent 774e451967
commit 6e9ef7e2a6
1 changed files with 1 additions and 1 deletions

View File

@ -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));