From ebac89ec6ae0aca646420320c019a0e1cbb79d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 3 Aug 2022 22:04:05 +0200 Subject: Use Pascal case for all functions. --- c/win.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/win.cpp') diff --git a/c/win.cpp b/c/win.cpp index 435e739..703c011 100644 --- a/c/win.cpp +++ b/c/win.cpp @@ -87,9 +87,9 @@ int EBMessageBox(const wchar_t* const wszText, const wchar_t* const wszCaption, return 0; }; - HHOOK hHook = require(SetWindowsHookEx(WH_CBT, proc, (HINSTANCE)NULL, GetCurrentThreadId())); + HHOOK hHook = Require(SetWindowsHookEx(WH_CBT, proc, (HINSTANCE)NULL, GetCurrentThreadId())); int r = MessageBox(g_hWnd, wszText, wszCaption, uType); - require(UnhookWindowsHookEx(hHook)); + Require(UnhookWindowsHookEx(hHook)); return r; } -- cgit v1.2.3