From 7c6fa3b2fd773a31d4c0f8899b96c1f25a669ec1 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 17 Jul 2014 23:56:16 -0400 Subject: Fixed assorted typos in some of the new C files. --- redo/comctl32_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redo/comctl32_windows.c') diff --git a/redo/comctl32_windows.c b/redo/comctl32_windows.c index d621d2a..a6ffaf1 100644 --- a/redo/comctl32_windows.c +++ b/redo/comctl32_windows.c @@ -39,7 +39,7 @@ DWORD initCommonControls(LPCWSTR manifest, char **errmsg) } /* GetProcAddress() only takes a multibyte string */ -#define LOAD(fn) f = GetModuleHandle(comctl32, fn); \ +#define LOAD(fn) f = GetProcAddress(comctl32, fn); \ if (f == NULL) { \ *errmsg = "error loading " fn "()"; \ return GetLastError(); \ -- cgit v1.2.3