diff options
author | Alexey Kulakov <panda75@bk.ru> | 2015-01-04 18:48:36 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2015-01-04 18:48:36 +0000 |
commit | dcb7dd2258da67892375b026d72eeefe9b757df2 (patch) | |
tree | 996569cbebf50fec195cdb13d735e8d025945ab4 | |
parent | 7a332fce627082ce81985ba111fd54391991444b (diff) |
Actman: another way to check for old settings
git-svn-id: http://svn.miranda-ng.org/main/trunk@11770 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Actman/i_options.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Actman/i_options.inc b/plugins/Actman/i_options.inc index fbbf6c558c..2dc6af1665 100644 --- a/plugins/Actman/i_options.inc +++ b/plugins/Actman/i_options.inc @@ -417,7 +417,8 @@ begin if NumMacros>0 then
begin
// V2 counts actions from 1, not 0
- v2:=DBReadDWord(0,DBBranch,'Group0/Action0/flags',$FFFFFFFF)=$FFFFFFFF;
+// v2:=DBReadDWord(0,DBBranch,'Group0/Action0/flags',$FFFFFFFF)=$FFFFFFFF; // don't work if no actions
+ v2:=DBReadByte(0,DBBranch,'version',2)=2;
if v2 then
begin
|