diff options
author | Alexey Kulakov <panda75@bk.ru> | 2014-12-21 20:36:45 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2014-12-21 20:36:45 +0000 |
commit | a26b59b904144f95f87bd5926787dba0568a4c5b (patch) | |
tree | d350f9eb60de7e7578e5bb07537104ee325c7f52 /plugins/Actman/i_services.inc | |
parent | b0d8e624a131040cdc4bf2cd305ebe8c20ad4ab1 (diff) |
Actman: "Single instance" default (for every new macro) flag introduced
Small options GUI logic changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11564 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Actman/i_services.inc')
-rw-r--r-- | plugins/Actman/i_services.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Actman/i_services.inc b/plugins/Actman/i_services.inc index 2954fa4b15..6bd0ddc0e3 100644 --- a/plugins/Actman/i_services.inc +++ b/plugins/Actman/i_services.inc @@ -180,6 +180,12 @@ var tmp:pActStartData;
i:integer;
begin
+ if (macro.flags and (ACF_USEDNOW or ACF_SINGLEINST))=(ACF_USEDNOW or ACF_SINGLEINST) then
+ begin
+ result:=-1;
+ exit;
+ end;
+
mGetMem (tmp ,SizeOf(tActStartData));
FillChar(tmp^,SizeOf(tActStartData),0);
|