summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_options.cpp')
-rw-r--r--protocols/Steam/src/steam_options.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_options.cpp b/protocols/Steam/src/steam_options.cpp
index c59d90e9bb..bbfa7311cd 100644
--- a/protocols/Steam/src/steam_options.cpp
+++ b/protocols/Steam/src/steam_options.cpp
@@ -60,11 +60,11 @@ public:
}
};
-INT_PTR CSteamProto::OnAccountManagerInit(WPARAM, LPARAM lParam)
+MWindow CSteamProto::OnCreateAccMgrUI(MWindow hwndParent)
{
- auto *page = new CSteamOptionsMain(this, IDD_ACCMGR, (HWND)lParam);
+ auto *page = new CSteamOptionsMain(this, IDD_ACCMGR, hwndParent);
page->Show();
- return (INT_PTR)page->GetHwnd();
+ return page->GetHwnd();
}
/////////////////////////////////////////////////////////////////////////////////