Slight tweak.

This commit is contained in:
n-a-c-h 2008-05-28 23:50:15 +00:00
parent 38aa5245c4
commit a06d02619f
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"));