summaryrefslogtreecommitdiff
path: root/protocols/Steam/src
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-02-25 14:45:28 +0300
committeraunsane <aunsane@gmail.com>2018-02-25 14:45:28 +0300
commita76776079b6d15e92dffd0c5c0016389092b1c8b (patch)
treeac686f25c8714b11824624b7773f499035b6827c /protocols/Steam/src
parent7fc01c9c474a732cd8b978d2f163f0839b2f956d (diff)
Fixes related with 7fc01c9
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r--protocols/Steam/src/steam_options.cpp7
-rw-r--r--protocols/Steam/src/steam_options.h3
2 files changed, 4 insertions, 6 deletions
diff --git a/protocols/Steam/src/steam_options.cpp b/protocols/Steam/src/steam_options.cpp
index bfc0255b09..88716ca0c9 100644
--- a/protocols/Steam/src/steam_options.cpp
+++ b/protocols/Steam/src/steam_options.cpp
@@ -3,8 +3,8 @@
CSteamOptionsMain::CSteamOptionsMain(CSteamProto *proto, int idDialog, HWND hwndParent)
: CSteamDlgBase(proto, idDialog, false),
m_username(this, IDC_USERNAME), m_password(this, IDC_PASSWORD),
- m_group(this, IDC_GROUP), m_biggerAvatars(this, IDC_BIGGER_AVATARS), m_showChatEvents(this, IDC_SHOW_CHAT_EVENTS),
- m_pollingErrorLimit(this, IDC_POLLINGERRORLIMIT), m_pollingErrorLimitSpin(this, IDC_POLLINGERRORLIMITSPIN)
+ m_group(this, IDC_GROUP), m_biggerAvatars(this, IDC_BIGGER_AVATARS),
+ m_showChatEvents(this, IDC_SHOW_CHAT_EVENTS), m_pollingErrorLimit(this, IDC_POLLINGERRORLIMITSPIN)
{
SetParent(hwndParent);
@@ -27,8 +27,7 @@ void CSteamOptionsMain::OnInitDialog()
SendMessage(m_password.GetHwnd(), EM_LIMITTEXT, 64, 0);
SendMessage(m_group.GetHwnd(), EM_LIMITTEXT, 64, 0);
- m_pollingErrorLimitSpin.SetRange(255, 0);
- m_pollingErrorLimitSpin.SetPosition(m_proto->getByte("PollingErrorsLimit", STEAM_API_POLLING_ERRORS_LIMIT));
+ m_pollingErrorLimit.SetRange(255, 0);
}
void CSteamOptionsMain::OnApply()
diff --git a/protocols/Steam/src/steam_options.h b/protocols/Steam/src/steam_options.h
index 388bf2c70a..d0aaf03bd9 100644
--- a/protocols/Steam/src/steam_options.h
+++ b/protocols/Steam/src/steam_options.h
@@ -11,8 +11,7 @@ private:
CCtrlCheck m_biggerAvatars;
CCtrlCheck m_showChatEvents;
- CCtrlEdit m_pollingErrorLimit;
- CCtrlSpin m_pollingErrorLimitSpin;
+ CCtrlSpin m_pollingErrorLimit;
protected:
CSteamOptionsMain(CSteamProto *proto, int idDialog, HWND hwndParent = NULL);