summaryrefslogtreecommitdiff
path: root/plugins/Watrack/i_opt_1.inc
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-28 19:36:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-28 19:36:10 +0000
commitf5e918645cdb34c5845f743291a8fe8bd56116e6 (patch)
treeb5d327fd0b9bda7aa1a6e724a8f9946e7f5312de /plugins/Watrack/i_opt_1.inc
parent072103b8a09df0d5bd2fd4a98ad84a9b2f1acbab (diff)
merge of those THandle fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@2549 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack/i_opt_1.inc')
-rw-r--r--plugins/Watrack/i_opt_1.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Watrack/i_opt_1.inc b/plugins/Watrack/i_opt_1.inc
index a41d07d554..f08eb36e0c 100644
--- a/plugins/Watrack/i_opt_1.inc
+++ b/plugins/Watrack/i_opt_1.inc
@@ -130,7 +130,7 @@ begin
i:=SendDlgItemMessage(Dialog,IDC_CODEPAGE,CB_GETCOUNT,0,0)-1;
while i>0 do
begin
- if dword(SendDlgItemMessage(Dialog,IDC_CODEPAGE,CB_GETITEMDATA,dword(i),0))=UserCP then
+ if dword(SendDlgItemMessage(Dialog,IDC_CODEPAGE,CB_GETITEMDATA,twparam(i),0))=UserCP then
break;
dec(i);
end