diff --git a/src/win32/VBA.cpp b/src/win32/VBA.cpp index 849ad549..1c42dda3 100644 --- a/src/win32/VBA.cpp +++ b/src/win32/VBA.cpp @@ -2015,7 +2015,7 @@ void VBA::updateWindowSize(int value) bool VBA::initDisplay() { - if (securityCheck2 != -3) + if (securityCheck != -3) { protectHelp[securityCheck2](0); return updateRenderMethod(false);