summaryrefslogtreecommitdiff
path: root/plugins/YAMN/src/proto/pop3/pop3opt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAMN/src/proto/pop3/pop3opt.cpp')
-rw-r--r--plugins/YAMN/src/proto/pop3/pop3opt.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/YAMN/src/proto/pop3/pop3opt.cpp b/plugins/YAMN/src/proto/pop3/pop3opt.cpp
index aed070df27..3941b2a270 100644
--- a/plugins/YAMN/src/proto/pop3/pop3opt.cpp
+++ b/plugins/YAMN/src/proto/pop3/pop3opt.cpp
@@ -976,15 +976,15 @@ INT_PTR CALLBACK DlgProcPOP3AccOpt(HWND hDlg,UINT msg,WPARAM wParam,LPARAM lPara
}
GetDlgItemTextA(hDlg, IDC_EDITAPP, Text, SIZEOF(Text));
- if (CheckApp && !(Length = strlen(Text))) {
+ if (CheckApp && !(Length = mir_strlen(Text))) {
MessageBox(hDlg,TranslateT("Please select application to run"),TranslateT("Input error"),MB_OK);
break;
}
GetDlgItemTextA(hDlg, IDC_COMBOACCOUNT, Text, SIZEOF(Text));
- if ( !( Length = strlen(Text))) {
+ if ( !( Length = mir_strlen(Text))) {
GetDlgItemTextA(hDlg,IDC_EDITNAME, Text, SIZEOF(Text));
- if ( !(Length = strlen( Text )))
+ if ( !(Length = mir_strlen( Text )))
break;
}
@@ -1037,29 +1037,29 @@ INT_PTR CALLBACK DlgProcPOP3AccOpt(HWND hDlg,UINT msg,WPARAM wParam,LPARAM lPara
#endif
GetDlgItemTextA(hDlg, IDC_EDITNAME, Text, SIZEOF(Text));
- if ( !(Length = strlen( Text )))
+ if ( !(Length = mir_strlen( Text )))
break;
if (NULL != ActualAccount->Name)
delete[] ActualAccount->Name;
- ActualAccount->Name = new char[ strlen(Text)+1];
+ ActualAccount->Name = new char[ mir_strlen(Text)+1];
strcpy(ActualAccount->Name,Text);
GetDlgItemTextA(hDlg,IDC_EDITSERVER,Text,SIZEOF(Text));
if (NULL != ActualAccount->Server->Name)
delete[] ActualAccount->Server->Name;
- ActualAccount->Server->Name=new char[ strlen(Text)+1];
+ ActualAccount->Server->Name=new char[ mir_strlen(Text)+1];
strcpy(ActualAccount->Server->Name,Text);
GetDlgItemTextA(hDlg,IDC_EDITLOGIN,Text,SIZEOF(Text));
if (NULL != ActualAccount->Server->Login)
delete[] ActualAccount->Server->Login;
- ActualAccount->Server->Login=new char[ strlen(Text)+1];
+ ActualAccount->Server->Login=new char[ mir_strlen(Text)+1];
strcpy(ActualAccount->Server->Login,Text);
GetDlgItemTextA(hDlg,IDC_EDITPASS,Text,SIZEOF(Text));
if (NULL != ActualAccount->Server->Passwd)
delete[] ActualAccount->Server->Passwd;
- ActualAccount->Server->Passwd=new char[ strlen(Text)+1];
+ ActualAccount->Server->Passwd=new char[ mir_strlen(Text)+1];
strcpy(ActualAccount->Server->Passwd,Text);
GetDlgItemTextW(hDlg,IDC_EDITAPP,TextW,SIZEOF(TextW));