diff options
Diffstat (limited to 'protocols/IRCG/src/options.cpp')
-rw-r--r-- | protocols/IRCG/src/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IRCG/src/options.cpp b/protocols/IRCG/src/options.cpp index abc5ef02dd..e7582fe1a9 100644 --- a/protocols/IRCG/src/options.cpp +++ b/protocols/IRCG/src/options.cpp @@ -45,7 +45,7 @@ void CIrcProto::ReadSettings(TDbSetting* sets, int count) case DBVT_ASCIIZ:
if (!getString(p->name, &dbv)) {
if (p->size != -1) {
- size_t len = min(p->size - 1, strlen(dbv.pszVal));
+ size_t len = min(p->size - 1, mir_strlen(dbv.pszVal));
memcpy(ptr, dbv.pszVal, len);
ptr[len] = 0;
}
|