summaryrefslogtreecommitdiff
path: root/Dbx_mmap_SA/dialogs.c
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-12-03 17:47:07 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-12-03 17:47:07 +0000
commit534fea9b2d46ddbe51b3841f2ca6af2e468f5c00 (patch)
tree450c080d226f53cd1bfc8e100eacfdf84a45504e /Dbx_mmap_SA/dialogs.c
parent331bd873e62c59d7e188eb7054c5abd46eeba15a (diff)
Dbx_mmap_SA:
fixed options page showing Dbtool: fixed dbtool starting fixed version info git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@237 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'Dbx_mmap_SA/dialogs.c')
-rw-r--r--Dbx_mmap_SA/dialogs.c20
1 files changed, 5 insertions, 15 deletions
diff --git a/Dbx_mmap_SA/dialogs.c b/Dbx_mmap_SA/dialogs.c
index af054d4..ad8a7c7 100644
--- a/Dbx_mmap_SA/dialogs.c
+++ b/Dbx_mmap_SA/dialogs.c
@@ -52,24 +52,14 @@ static int OptionsInit(WPARAM wParam, LPARAM lParam)
{
OPTIONSDIALOGPAGE odp;
- odp.cbSize = 60;
+ ZeroMemory(&odp, sizeof(odp));
+ odp.cbSize = sizeof(odp);
odp.position = -790000000;
odp.hInstance = g_hInst;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS);
- odp.flags = ODPF_BOLDGROUPS;
- if (gl_bUnicodeAwareCore)
- {
- odp.ptszTitle = TranslateT("Database Features");
- odp.ptszGroup = TranslateT("Services");
- odp.flags |= ODPF_UNICODE;
- }
- else
- {
- odp.pszTitle = Translate("Database Features");
- odp.pszGroup = Translate("Services");
- }
-
- odp.nIDBottomSimpleControl = 0;
+ odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR;
+ odp.ptszTitle = TranslateT("Database Features");
+ odp.ptszGroup = TranslateT("Services");
odp.pfnDlgProc = DlgProcOptions;
CallService( MS_OPT_ADDPAGE, wParam,( LPARAM )&odp );