aboutsummaryrefslogtreecommitdiff
path: root/c/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/layout.h')
-rw-r--r--c/layout.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/layout.h b/c/layout.h
index 578f065..da29d25 100644
--- a/c/layout.h
+++ b/c/layout.h
@@ -61,7 +61,7 @@ inline bool Dragger::HandleDown()
{
extern HWND g_hWnd;
POINT pt;
- require(GetRelativeCursorPos(g_hWnd, &pt));
+ Require(GetRelativeCursorPos(g_hWnd, &pt));
if (!InDragArea(pt.x, pt.y)) return false;
if (IsDouble()) {
@@ -77,7 +77,7 @@ inline bool Dragger::HandleMove()
{
extern HWND g_hWnd;
POINT pt;
- require(GetRelativeCursorPos(g_hWnd, &pt));
+ Require(GetRelativeCursorPos(g_hWnd, &pt));
extern HCURSOR g_hcSizeNs;
bool r = true;