summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/AdvancedAutoAway/msgoptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusPlugins/AdvancedAutoAway/msgoptions.cpp')
-rw-r--r--plugins/StatusPlugins/AdvancedAutoAway/msgoptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StatusPlugins/AdvancedAutoAway/msgoptions.cpp b/plugins/StatusPlugins/AdvancedAutoAway/msgoptions.cpp
index f97af44c44..24fdfe117a 100644
--- a/plugins/StatusPlugins/AdvancedAutoAway/msgoptions.cpp
+++ b/plugins/StatusPlugins/AdvancedAutoAway/msgoptions.cpp
@@ -78,7 +78,7 @@ INT_PTR CALLBACK DlgProcAutoAwayMsgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, L
DBVARIANT dbv;
if ( !db_get(NULL, MODULENAME, StatusModeToDbSetting(statusModeList[i],SETTING_STATUSMSG), &dbv)) {
- settings[count]->msg = ( char* )malloc(strlen(dbv.pszVal) + 1);
+ settings[count]->msg = ( char* )malloc(mir_strlen(dbv.pszVal) + 1);
strcpy(settings[count]->msg, dbv.pszVal);
db_free(&dbv);
}