diff options
Diffstat (limited to 'Stars45/NetPassDlg.cpp')
-rw-r--r-- | Stars45/NetPassDlg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/NetPassDlg.cpp b/Stars45/NetPassDlg.cpp index 5ea1542..551b31d 100644 --- a/Stars45/NetPassDlg.cpp +++ b/Stars45/NetPassDlg.cpp @@ -115,7 +115,7 @@ NetPassDlg::OnApply(AWEvent* event) if (info && edt_pass->GetText().length() < 250) {
char buffer[256];
- strcpy(buffer, edt_pass->GetText().data());
+ strcpy_s(buffer, edt_pass->GetText().data());
// trim from first occurrence of invalid character
char* p = strpbrk(buffer, "\n\r\t");
|