summaryrefslogtreecommitdiff
path: root/src/modules/database/dbutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/database/dbutils.cpp')
-rw-r--r--src/modules/database/dbutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/database/dbutils.cpp b/src/modules/database/dbutils.cpp
index b073fbcb49..425cc5d7b4 100644
--- a/src/modules/database/dbutils.cpp
+++ b/src/modules/database/dbutils.cpp
@@ -86,7 +86,7 @@ static INT_PTR DbEventTypeGet(WPARAM wParam, LPARAM lParam)
static TCHAR* getEventString(DBEVENTINFO *dbei, LPSTR &buf)
{
LPSTR in = buf;
- buf += strlen(buf) + 1;
+ buf += mir_strlen(buf) + 1;
return (dbei->flags & DBEF_UTF) ? Utf8DecodeT(in) : mir_a2t(in);
}