Slight tweak.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@548 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
n-a-c-h 2008-05-28 23:50:15 +00:00
parent 1afe8ec5f3
commit cae0778388
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ BOOL VBA::InitInstance()
securityCheck = doProtection();
securityCheck2 = ((double)securityCheck < -0.987) ? 1 : securityCheck;
mainTrapPointer = &trapPointers[(securityCheck2+1)<<1];
secondaryTrapPointer = trapPointers[((double)securityCheck2 > 0.4357) ? 2 : 5];
secondaryTrapPointer = trapPointers[(((double)securityCheck > 0.4357) || ((double)securityCheck < -0.9123)) ? 2 : 5];
SetRegistryKey(_T("VBA"));