Only perform component list redraw hack on 95/NT4 to avoid flicker

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7190 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2020-06-28 21:55:37 +00:00
parent d62a4a6a21
commit 85bd2746a0
2 changed files with 8 additions and 6 deletions

View file

@ -69,6 +69,7 @@ void NSISCALL myRegGetStr(HKEY root, const TCHAR *sub, const TCHAR *name, TCHAR
extern DWORD g_WinVer; // GetVersion()
#define IsWin95NT4() ( sizeof(void*) == 4 && LOBYTE(g_WinVer) == 0x04 )
#define NSIS_WINVER_WOW64FLAG ( sizeof(void*) > 4 ? ( 0 ) : ( 0x40000000 ) )
#define IsWow64() ( sizeof(void*) > 4 ? ( FALSE ) : ( g_WinVer & NSIS_WINVER_WOW64FLAG ) )
#define SystemSupportsAltRegView() ( sizeof(void*) > 4 ? ( TRUE ) : ( IsWow64() ) )