summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IEView/src/Utils.cpp')
-rw-r--r--plugins/IEView/src/Utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/IEView/src/Utils.cpp b/plugins/IEView/src/Utils.cpp
index 009c01a19e..2a7e48a0e3 100644
--- a/plugins/IEView/src/Utils.cpp
+++ b/plugins/IEView/src/Utils.cpp
@@ -118,12 +118,12 @@ void Utils::appendIcon(CMStringA &str, const char *iconFile)
bool Utils::DbEventIsForMsgWindow(DBEVENTINFO *dbei)
{
- DBEVENTTYPEDESCR *et = (DBEVENTTYPEDESCR*)CallService(MS_DB_EVENT_GETTYPE, (WPARAM)dbei->szModule, (LPARAM)dbei->eventType);
+ DBEVENTTYPEDESCR *et = DbEvent_GetType(dbei->szModule, dbei->eventType);
return et && (et->flags & DETF_MSGWINDOW);
}
bool Utils::DbEventIsForHistory(DBEVENTINFO *dbei)
{
- DBEVENTTYPEDESCR *et = (DBEVENTTYPEDESCR*)CallService(MS_DB_EVENT_GETTYPE, (WPARAM)dbei->szModule, (LPARAM)dbei->eventType);
+ DBEVENTTYPEDESCR *et = DbEvent_GetType(dbei->szModule, dbei->eventType);
return et && (et->flags & DETF_HISTORY);
} \ No newline at end of file