diff options
Diffstat (limited to 'protocols/Steam/src/steam_dialogs.cpp')
-rw-r--r-- | protocols/Steam/src/steam_dialogs.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/Steam/src/steam_dialogs.cpp b/protocols/Steam/src/steam_dialogs.cpp index 0565040d8d..b3731551b0 100644 --- a/protocols/Steam/src/steam_dialogs.cpp +++ b/protocols/Steam/src/steam_dialogs.cpp @@ -20,11 +20,9 @@ void CSteamPasswordEditor::OnInitDialog() void CSteamPasswordEditor::OnOk(CCtrlButton*)
{
- if (m_proto->password != nullptr)
- mir_free(m_proto->password);
- m_proto->password = m_password.GetText();
+ m_proto->m_password = m_password.GetText();
if (m_savePermanently.Enabled())
- m_proto->setWString("Password", m_proto->password);
+ m_proto->setWString("Password", m_proto->m_password);
EndDialog(m_hwnd, DIALOG_RESULT_OK);
}
|