summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/chat/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src/chat/log.cpp')
-rw-r--r--plugins/Scriver/src/chat/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/chat/log.cpp b/plugins/Scriver/src/chat/log.cpp
index bb8274587b..e743e82bc6 100644
--- a/plugins/Scriver/src/chat/log.cpp
+++ b/plugins/Scriver/src/chat/log.cpp
@@ -33,7 +33,7 @@ static DWORD CALLBACK Log_StreamCallback(DWORD_PTR dwCookie, LPBYTE pbBuff, LONG
if (lstrdat->buffer == NULL) {
lstrdat->bufferOffset = 0;
lstrdat->buffer = pci->Log_CreateRTF(lstrdat);
- lstrdat->bufferLen = lstrlenA(lstrdat->buffer);
+ lstrdat->bufferLen = mir_strlen(lstrdat->buffer);
}
// give the RTF to the RE control