From ec7b7cf1c956bf17b60d788d73530fcbd12bf51f Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Wed, 31 Dec 2014 22:11:10 +0000 Subject: temporary revert git-svn-id: http://svn.miranda-ng.org/main/trunk@11705 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack/status/i_opt_11.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/Watrack/status/i_opt_11.inc') diff --git a/plugins/Watrack/status/i_opt_11.inc b/plugins/Watrack/status/i_opt_11.inc index 8039dae4c1..2bb1546015 100644 --- a/plugins/Watrack/status/i_opt_11.inc +++ b/plugins/Watrack/status/i_opt_11.inc @@ -254,7 +254,7 @@ end; function DlgProcOptions11(Dialog:HWND;hMessage:uint;wParam:WPARAM;lParam:LPARAM):LRESULT; stdcall; var - item:LV_ITEMA; + Item:LV_ITEMA; buf:array [0..127] of AnsiChar; i,j:integer; wnd:HWND; @@ -418,11 +418,11 @@ begin else //IDC_STATUSLIST begin - item.iItem:=PNMLISTVIEW(lParam)^.iItem; - item.mask:=LVIF_PARAM; - SendMessageA(PNMLISTVIEW(lParam)^.hdr.hwndFrom,LVM_GETITEMA,0,tlparam(@item)); -// ListView_GetItemA(PNMLISTVIEW(lParam)^.hdr.hwndFrom,item); - CurStatus:=GetStatusNum(item.lParam); + Item.iItem:=PNMLISTVIEW(lParam)^.iItem; + Item.mask:=LVIF_PARAM; + SendMessageA(PNMLISTVIEW(lParam)^.hdr.hwndFrom,LVM_GETITEMA,0,tlparam(@Item)); +// ListView_GetItemA(PNMLISTVIEW(lParam)^.hdr.hwndFrom,Item); + CurStatus:=GetStatusNum(Item.lParam); RedrawFields(Dialog); end; end -- cgit v1.2.3