summaryrefslogtreecommitdiffstats
path: root/src/ui/compass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/compass.cpp')
-rw-r--r--src/ui/compass.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/compass.cpp b/src/ui/compass.cpp
index c2733eb..d856e19 100644
--- a/src/ui/compass.cpp
+++ b/src/ui/compass.cpp
@@ -48,18 +48,18 @@ CCompass::~CCompass()
// Creates a new button.
-BOOL CCompass::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
+bool CCompass::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
{
if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
CControl::Create(pos, dim, icon, eventMsg);
- return TRUE;
+ return true;
}
// Management of an event.
-BOOL CCompass::EventProcess(const Event &event)
+bool CCompass::EventProcess(const Event &event)
{
CControl::EventProcess(event);
@@ -70,11 +70,11 @@ BOOL CCompass::EventProcess(const Event &event)
Event newEvent = event;
newEvent.event = m_eventMsg;
m_event->AddEvent(newEvent);
- return FALSE;
+ return false;
}
}
- return TRUE;
+ return true;
}