summaryrefslogtreecommitdiff
path: root/plugins/Variables/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables/src')
-rw-r--r--plugins/Variables/src/parse_miranda.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp
index 7c15c9cc83..845dfc33ae 100644
--- a/plugins/Variables/src/parse_miranda.cpp
+++ b/plugins/Variables/src/parse_miranda.cpp
@@ -565,7 +565,7 @@ static wchar_t* parseDbEvent(ARGUMENTSINFO *ai)
return nullptr;
DB::EventInfo dbe(hDbEvent);
- return (dbe) ? DbEvent_GetTextW(&dbe) : nullptr;
+ return (dbe) ? dbe.getText() : nullptr;
}
static wchar_t* parseTranslate(ARGUMENTSINFO *ai)