Skip to content

Commit 0e0c4b2

Browse files
committed
style
1 parent f8ba051 commit 0e0c4b2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/uia.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,9 @@ bool IsOnCloseButton(POINT pt) {
265265
}
266266

267267
RECT rect;
268-
if (FAILED(close_btn->get_CurrentBoundingRectangle(&rect)))
268+
if (FAILED(close_btn->get_CurrentBoundingRectangle(&rect))) {
269269
return false;
270+
}
270271
return PtInRect(&rect, pt) != FALSE;
271272
}
272273

0 commit comments

Comments
 (0)