diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-25 10:58:24 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-25 10:58:24 +0000 |
commit | dd1460d664f7266920b07527f25f87ec8233daaf (patch) | |
tree | 3753e6fa678edf1b3d9bb020bb97e16ca75ff69d /protocols/Twitter | |
parent | 9ff92d1cc83e39859891a65f5ada186806cef133 (diff) |
valid options initialization
git-svn-id: http://svn.miranda-ng.org/main/trunk@6225 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter')
-rw-r--r-- | protocols/Twitter/src/proto.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp index 4130ce44a3..f60e2c1d82 100644 --- a/protocols/Twitter/src/proto.cpp +++ b/protocols/Twitter/src/proto.cpp @@ -319,7 +319,7 @@ int TwitterProto::OnBuildStatusMenu(WPARAM,LPARAM) int TwitterProto::OnOptionsInit(WPARAM wParam,LPARAM)
{
- OPTIONSDIALOGPAGE odp = {sizeof(odp)};
+ OPTIONSDIALOGPAGE odp = { sizeof(odp) };
odp.position = 271828;
odp.hInstance = g_hInstance;
odp.ptszGroup = LPGENT("Network");
@@ -332,14 +332,12 @@ int TwitterProto::OnOptionsInit(WPARAM wParam,LPARAM) odp.pfnDlgProc = options_proc;
Options_AddPage(wParam, &odp);
- if(ServiceExists(MS_POPUP_ADDPOPUPT))
- {
+ if (ServiceExists(MS_POPUP_ADDPOPUPT)) {
odp.ptszTab = LPGENT("Popups");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS_POPUPS);
odp.pfnDlgProc = popup_options_proc;
Options_AddPage(wParam, &odp);
}
-
return 0;
}
|