diff options
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r-- | protocols/Steam/src/steam_events.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_events.cpp b/protocols/Steam/src/steam_events.cpp index 7a31c566cd..2da994ebfc 100644 --- a/protocols/Steam/src/steam_events.cpp +++ b/protocols/Steam/src/steam_events.cpp @@ -36,18 +36,18 @@ INT_PTR CSteamProto::OnAccountManagerInit(WPARAM wParam, LPARAM lParam) int CSteamProto::OnOptionsInit(WPARAM wParam, LPARAM lParam) { - OPTIONSDIALOGPAGE odp = { sizeof(odp) }; + OPTIONSDIALOGPAGE odp = { 0 }; odp.hInstance = g_hInstance; odp.ptszTitle = m_tszUserName; odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR; odp.ptszGroup = LPGENT("Network"); odp.ptszTab = LPGENT("Account"); - odp.pDialog = new CSteamOptionsMain(this, IDD_OPT_MAIN);
+ odp.pDialog = new CSteamOptionsMain(this, IDD_OPT_MAIN); Options_AddPage(wParam, &odp); odp.ptszTab = LPGENT("Blocked contacts"); - odp.pDialog = new CSteamOptionsBlockList(this);
+ odp.pDialog = new CSteamOptionsBlockList(this); Options_AddPage(wParam, &odp); return 0; } |