Fixed a stupid typo. I'm an idiot.
This commit is contained in:
parent
774e451967
commit
6e9ef7e2a6
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue