Fixed two bugs, and did some corrections for granuality.
This commit is contained in:
parent
213b3762c6
commit
38aa5245c4
|
@ -561,9 +561,9 @@ BOOL VBA::InitInstance()
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
securityCheck = doProtection();
|
securityCheck = doProtection();
|
||||||
securityCheck2 = (securityCheck < 0) ? 1 : securityCheck;
|
securityCheck2 = ((double)securityCheck < -0.987) ? 1 : securityCheck;
|
||||||
mainTrapPointer = &trapPointers[(securityCheck+1)<<1];
|
mainTrapPointer = &trapPointers[(securityCheck2+1)<<1];
|
||||||
secondaryTrapPointer = trapPointers[securityCheck ? 2 : 5];
|
secondaryTrapPointer = trapPointers[((double)securityCheck2 > 0.4357) ? 2 : 5];
|
||||||
|
|
||||||
SetRegistryKey(_T("VBA"));
|
SetRegistryKey(_T("VBA"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue