diff options
author | George Hazan <george.hazan@gmail.com> | 2024-05-13 14:23:13 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-05-13 14:23:13 +0300 |
commit | c7d065645853b2e614e8557fa01057efaf5e6517 (patch) | |
tree | 6b5233ed788e31014e868c007ccb469ca4d64e60 /plugins/AutoShutdown | |
parent | 831bffd63776f4ffe82245cadf2b95c48cd44d38 (diff) |
DbEvent_GetTextA: unused function removed
Diffstat (limited to 'plugins/AutoShutdown')
-rw-r--r-- | plugins/AutoShutdown/src/watcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AutoShutdown/src/watcher.cpp b/plugins/AutoShutdown/src/watcher.cpp index d290a65c78..57ee51f9f4 100644 --- a/plugins/AutoShutdown/src/watcher.cpp +++ b/plugins/AutoShutdown/src/watcher.cpp @@ -72,7 +72,7 @@ static int MsgEventAdded(WPARAM, LPARAM hDbEvent) DBVARIANT dbv;
if (!g_plugin.getWString("Message", &dbv)) {
ltrimw(rtrimw(dbv.pwszVal));
- ptrW wszMsg(DbEvent_GetTextW(&dbei));
+ ptrW wszMsg(dbei.getText());
if (wszMsg != nullptr && wcsstr(wszMsg, dbv.pwszVal) != nullptr)
ShutdownAndStopWatcher(); /* msg with specified text recvd */
mir_free(dbv.pwszVal); /* does NULL check */
|