summaryrefslogtreecommitdiff
path: root/plugins/Watrack/i_opt_1.inc
diff options
context:
space:
mode:
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