diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-29 22:39:26 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-29 22:39:26 +0000 |
commit | e06676ea085e2fab7f49655ef48c7608cff307b1 (patch) | |
tree | 23cdcbc40c004329ba168c0a6138a76cb2af1594 /plugins/WhenWasIt/src/services.cpp | |
parent | fc23840b513a10a422afa3628f039ce2d0cfa8d7 (diff) |
translation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@3350 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhenWasIt/src/services.cpp')
-rw-r--r-- | plugins/WhenWasIt/src/services.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/WhenWasIt/src/services.cpp b/plugins/WhenWasIt/src/services.cpp index 0af7b99e39..3e1d391a79 100644 --- a/plugins/WhenWasIt/src/services.cpp +++ b/plugins/WhenWasIt/src/services.cpp @@ -170,10 +170,10 @@ INT_PTR ShowListService(WPARAM wParam, LPARAM lParam) INT_PTR AddBirthdayService(WPARAM wParam, LPARAM lParam)
{
- HWND hWnd = WindowList_Find(hAddBirthdayWndsList, (HANDLE) wParam);
+ HANDLE hContact = (HANDLE) wParam;
+ HWND hWnd = WindowList_Find(hAddBirthdayWndsList, hContact);
if ( !hWnd) {
- hWnd = CreateDialogParam(hInstance, MAKEINTRESOURCE(IDD_ADD_BIRTHDAY), NULL, DlgProcAddBirthday, wParam);
- WindowList_Add(hAddBirthdayWndsList, hWnd, (HANDLE) wParam);
+ hWnd = CreateDialogParam(hInstance, MAKEINTRESOURCE(IDD_ADD_BIRTHDAY), NULL, DlgProcAddBirthday, (LPARAM) hContact);
}
return ShowWindow(hWnd, SW_SHOW);
}
|