summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_dialogs.cpp')
-rw-r--r--protocols/Steam/src/steam_dialogs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_dialogs.cpp b/protocols/Steam/src/steam_dialogs.cpp
index a773a3bd3b..eac9710528 100644
--- a/protocols/Steam/src/steam_dialogs.cpp
+++ b/protocols/Steam/src/steam_dialogs.cpp
@@ -27,7 +27,7 @@ void CSteamPasswordEditor::OnOk(CCtrlButton*)
if (m_savePermanently.Enabled())
m_proto->setTString("Password", m_proto->password);
- EndDialog(m_hwnd, 1);
+ EndDialog(m_hwnd, DIALOG_RESULT_OK);
}
void CSteamPasswordEditor::OnClose()
@@ -63,7 +63,7 @@ void CSteamGuardDialog::OnInitDialog()
void CSteamGuardDialog::OnOk(CCtrlButton*)
{
mir_strncpy(m_guardCode, ptrA(m_text.GetTextA()), _countof(m_guardCode));
- EndDialog(m_hwnd, 1);
+ EndDialog(m_hwnd, DIALOG_RESULT_OK);
}
void CSteamGuardDialog::OnClose()
@@ -111,7 +111,7 @@ void CSteamCaptchaDialog::OnInitDialog()
void CSteamCaptchaDialog::OnOk(CCtrlButton*)
{
mir_strncpy(m_captchaText, ptrA(m_text.GetTextA()), _countof(m_captchaText));
- EndDialog(m_hwnd, 1);
+ EndDialog(m_hwnd, DIALOG_RESULT_OK);
}
void CSteamCaptchaDialog::OnClose()