summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-07 18:19:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-07 18:19:34 +0000
commite5cb033463036b182fb6e5e3eed50a14987f5300 (patch)
treec1e0c20c1fb1808f658f4aadf624a57474576eb4 /plugins/Utils.pas
parente2d81fead804c1d7dd557af5d3082ba0399a38c1 (diff)
SKINICONDESC -> MAllStrings
git-svn-id: http://svn.miranda-ng.org/main/trunk@14054 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Utils.pas')
-rw-r--r--plugins/Utils.pas/mirutils.pas1
-rw-r--r--plugins/Utils.pas/sedit.pas11
2 files changed, 5 insertions, 7 deletions
diff --git a/plugins/Utils.pas/mirutils.pas b/plugins/Utils.pas/mirutils.pas
index dd46e411bb..5c25045c11 100644
--- a/plugins/Utils.pas/mirutils.pas
+++ b/plugins/Utils.pas/mirutils.pas
@@ -701,7 +701,6 @@ var
sid:TSKINICONDESC;
begin
FillChar(sid,SizeOf(TSKINICONDESC),0);
- sid.cbSize :=SizeOf(TSKINICONDESC);
sid.cx :=16;
sid.cy :=16;
sid.flags :=0;
diff --git a/plugins/Utils.pas/sedit.pas b/plugins/Utils.pas/sedit.pas
index 35f90b9dde..7c7010e43b 100644
--- a/plugins/Utils.pas/sedit.pas
+++ b/plugins/Utils.pas/sedit.pas
@@ -92,7 +92,6 @@ begin
exit;
FillChar(sid,SizeOf(TSKINICONDESC),0);
- sid.cbSize :=SizeOf(TSKINICONDESC);
sid.cx :=16;
sid.cy :=16;
sid.flags :=SIDF_UNICODE;
@@ -442,7 +441,7 @@ var
{$IFDEF Miranda}isScript:boolean;{$ENDIF}
begin
li.iItem:=item;
-
+
// result value check and element type
li.mask :=LVIF_PARAM or LVIF_STATE;
li.iSubItem :=0;
@@ -490,7 +489,7 @@ begin
// type text (can skip and use type code)
li.mask :=LVIF_TEXT;
li.cchTextMax:=HIGH(buf);
- li.pszText :=@buf;
+ li.pszText :=@buf;
li.iSubItem :=col_type;
SendMessageW(list,LVM_GETITEMTEXTW,item,lparam(@li));
dst:=StrEnd(FastWideToAnsiBuf(@buf,dst));
@@ -499,7 +498,7 @@ begin
// alias
li.mask :=LVIF_TEXT;
li.cchTextMax:=HIGH(buf);
- li.pszText :=@buf;
+ li.pszText :=@buf;
li.iSubItem :=col_alias;
if SendMessageW(list,LVM_GETITEMTEXTW,item,lparam(@li))>0 then
@@ -839,7 +838,7 @@ begin
{$ENDIF}
buf[idx]:=#0;
LV_SetItemW(list,@buf,item,col_flag);
-
+
// values
tmp:=nil;
case ltype of
@@ -1072,7 +1071,7 @@ begin
GetWindowRect(wnd,rc1);
SetWindowPos(wnd,0,0,0,rc.right-rc1.left-8,rc1.bottom-rc1.top,
SWP_NOMOVE or SWP_NOZORDER or SWP_SHOWWINDOW);
-
+
wnd:=GetDlgItem(Dialog,IDC_DATA_FULL);
GetWindowRect(wnd,rc1);
SetWindowPos(wnd,0,0,0,rc1.right-rc1.left, rc.bottom-rc1.top-8,