diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-07-31 08:58:30 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-07-31 08:58:30 +0000 |
commit | 999a99ab8d49e1f1450581e86337a86b637c8947 (patch) | |
tree | 4eb45c6b646aa4f5f2500f6e11d11b9e0623c754 /plugins/Watrack_MPD/src/options.c | |
parent | ea771d270d4985b64750a5f7c9ea7b479252b5f0 (diff) |
x64 compile fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@1282 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack_MPD/src/options.c')
-rwxr-xr-x | plugins/Watrack_MPD/src/options.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/Watrack_MPD/src/options.c b/plugins/Watrack_MPD/src/options.c index 1e0c468f17..ef607d78ed 100755 --- a/plugins/Watrack_MPD/src/options.c +++ b/plugins/Watrack_MPD/src/options.c @@ -18,8 +18,7 @@ #include <uxtheme.h> HINSTANCE hInst; - -static BOOL CALLBACK DlgProcWaMpdOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); +static INT_PTR CALLBACK DlgProcWaMpdOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); int WaMpdOptInit(WPARAM wParam,LPARAM lParam) { @@ -27,17 +26,17 @@ int WaMpdOptInit(WPARAM wParam,LPARAM lParam) odp.cbSize = sizeof(odp); odp.hInstance = hInst; odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_WA_MPD); - odp.pszTitle = "Winamp Track"; - odp.pszGroup = "Plugins"; - odp.pszTab = "Watrack MPD"; - odp.flags=ODPF_BOLDGROUPS; + odp.ptszTitle = LPGENT("Winamp Track"); + odp.ptszGroup = LPGENT("Plugins"); + odp.ptszTab = LPGENT("Watrack MPD"); + odp.flags=ODPF_BOLDGROUPS|ODPF_TCHAR; odp.pfnDlgProc = DlgProcWaMpdOpts; Options_AddPage(wParam, &odp); return 0; } -static BOOL CALLBACK DlgProcWaMpdOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) +static INT_PTR CALLBACK DlgProcWaMpdOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { switch (msg) { |