summaryrefslogtreecommitdiff
path: root/plugins/Actman30/i_opt_dlg2.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Actman30/i_opt_dlg2.inc')
-rw-r--r--plugins/Actman30/i_opt_dlg2.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Actman30/i_opt_dlg2.inc b/plugins/Actman30/i_opt_dlg2.inc
index 24fdb59ab5..ed8e83e0b3 100644
--- a/plugins/Actman30/i_opt_dlg2.inc
+++ b/plugins/Actman30/i_opt_dlg2.inc
@@ -461,7 +461,7 @@ var
li:LV_ITEMW;
arr: array [0..255] of WideChar;
begin
- idx:=loword(LV_GetLParam(MacroListWindow,group));
+ idx:=smallint(loword(LV_GetLParam(MacroListWindow,group)));
if idx>=0 then // we have macro to save
begin
SaveAction(Dialog,-1,nil);