summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_dialogs.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-04-08 17:54:46 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-04-08 17:54:46 +0000
commit683ca5965e69d1780d957ab6f59b704c612852fa (patch)
treed1f089a434184304ef952ecae80d379431a0846a /protocols/Steam/src/steam_dialogs.cpp
parent78dc54f9e392b45492a2b726d6268c41f594eb41 (diff)
Steam:
- added options - removed OpenSSL dependencies - cleaned project files git-svn-id: http://svn.miranda-ng.org/main/trunk@8893 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_dialogs.cpp')
-rw-r--r--protocols/Steam/src/steam_dialogs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_dialogs.cpp b/protocols/Steam/src/steam_dialogs.cpp
index d7ec5c1f77..a03114f6c8 100644
--- a/protocols/Steam/src/steam_dialogs.cpp
+++ b/protocols/Steam/src/steam_dialogs.cpp
@@ -170,6 +170,8 @@ INT_PTR CALLBACK CSteamProto::MainOptionsProc(HWND hwnd, UINT message, WPARAM wP
{
if ((HIWORD(wParam) != EN_CHANGE || (HWND)lParam != GetFocus())) return 0;
proto->delSetting("SteamID");
+ proto->delSetting("Cookies");
+ proto->delSetting("TokenSecret");
wchar_t username[128];
GetDlgItemText(hwnd, IDC_USERNAME, username, SIZEOF(username));
SendMessage(GetParent(hwnd), PSM_CHANGED, 0, 0);
@@ -179,6 +181,7 @@ INT_PTR CALLBACK CSteamProto::MainOptionsProc(HWND hwnd, UINT message, WPARAM wP
case IDC_PASSWORD:
{
if ((HIWORD(wParam) != EN_CHANGE || (HWND)lParam != GetFocus())) return 0;
+ proto->delSetting("Cookie");
proto->delSetting("TokenSecret");
char password[128];
GetDlgItemTextA(hwnd, IDC_PASSWORD, password, SIZEOF(password));