diff options
author | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-02-20 23:46:23 +0100 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-02-21 03:00:25 +0200 |
commit | a5261a5fa8fad810ecb5c260d92c3e771822bf58 (patch) | |
tree | d9e9cda2137f01538f7ac98ce5e8dfa10980eaac /indra/llui/llresizehandle.cpp | |
parent | 8c16ec2b53153a10f40181e0e8108d24331451d4 (diff) |
Convert BOOL to bool in llui
Diffstat (limited to 'indra/llui/llresizehandle.cpp')
-rw-r--r-- | indra/llui/llresizehandle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llui/llresizehandle.cpp b/indra/llui/llresizehandle.cpp index b1f4a6c69d..760174a878 100644 --- a/indra/llui/llresizehandle.cpp +++ b/indra/llui/llresizehandle.cpp @@ -366,7 +366,7 @@ void LLResizeHandle::draw() } -BOOL LLResizeHandle::pointInHandle( S32 x, S32 y ) +bool LLResizeHandle::pointInHandle( S32 x, S32 y ) { if( pointInView(x, y) ) { @@ -378,8 +378,8 @@ BOOL LLResizeHandle::pointInHandle( S32 x, S32 y ) case LEFT_TOP: return (x <= RESIZE_BORDER_WIDTH) || (y >= TOP_BORDER); case LEFT_BOTTOM: return (x <= RESIZE_BORDER_WIDTH) || (y <= RESIZE_BORDER_WIDTH); case RIGHT_TOP: return (x >= RIGHT_BORDER) || (y >= TOP_BORDER); - case RIGHT_BOTTOM: return TRUE; + case RIGHT_BOTTOM: return true; } } - return FALSE; + return false; } |