summaryrefslogtreecommitdiff
path: root/lastseen-mod/history.c
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-17 18:10:43 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-17 18:10:43 +0000
commit2f10a9e6cc4782d61f0f15bbff36209af922bd34 (patch)
tree920e978d44cfea3ab33e88318596890cf4513a97 /lastseen-mod/history.c
parent3c0233134bc5a8e42e3a621f0a5eef2aaf487474 (diff)
обновлены и подчищены добавленные плагины
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@174 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'lastseen-mod/history.c')
-rw-r--r--lastseen-mod/history.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lastseen-mod/history.c b/lastseen-mod/history.c
index 9917d95..724cfd5 100644
--- a/lastseen-mod/history.c
+++ b/lastseen-mod/history.c
@@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
File name : $URL: http://svn.berlios.de/svnroot/repos/mgoodies/trunk/lastseen-mod/history.c $
Revision : $Rev: 1056 $
-Last change on : $Date: 2006-10-30 05:22:07 +0200 (Пн, 30 окт 2006) $
+Last change on : $Date: 2006-10-30 06:22:07 +0300 (Пн, 30 окт 2006) $
Last change by : $Author: y_b $
*/
#include "seen.h"
@@ -167,7 +167,7 @@ void MyResizeGetOffset (HWND hwndDlg, HWND hwndControl,
*nDy = nHeight - (rcinit.bottom - rcinit.top);
}
-BOOL CALLBACK HistoryDlgProc(HWND hwndDlg, UINT Message, WPARAM wparam, LPARAM lparam)
+INT_PTR CALLBACK HistoryDlgProc(HWND hwndDlg, UINT Message, WPARAM wparam, LPARAM lparam)
{
HANDLE hContact;
char sztemp[1024]="";
@@ -178,7 +178,7 @@ BOOL CALLBACK HistoryDlgProc(HWND hwndDlg, UINT Message, WPARAM wparam, LPARAM l
case WM_INITDIALOG:
TranslateDialogDefault(hwndDlg);
hContact = (HANDLE)lparam;
- SetWindowLong(hwndDlg,GWL_USERDATA,lparam);
+ SetWindowLongPtr(hwndDlg,GWLP_USERDATA,lparam);
strcpy(sztemp,(char *)CallService(MS_CLIST_GETCONTACTDISPLAYNAME,(WPARAM)hContact,0));
strcat(sztemp, ": ");
strcat(sztemp, Translate("last seen history"));
@@ -230,7 +230,7 @@ BOOL CALLBACK HistoryDlgProc(HWND hwndDlg, UINT Message, WPARAM wparam, LPARAM l
case WM_DRAWITEM:
return CallService(MS_CLIST_MENUDRAWITEM,wparam,lparam);
case WM_COMMAND:
- hContact=(HANDLE)GetWindowLong(hwndDlg,GWL_USERDATA);
+ hContact=(HANDLE)GetWindowLongPtr(hwndDlg,GWLP_USERDATA);
if(CallService(MS_CLIST_MENUPROCESSCOMMAND,MAKEWPARAM(LOWORD(wparam),MPCF_CONTACTMENU),(LPARAM)hContact))
break;
switch(LOWORD(wparam))