summaryrefslogtreecommitdiff
path: root/desktop/win32/source/setup/setup_main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/win32/source/setup/setup_main.cxx')
-rw-r--r--desktop/win32/source/setup/setup_main.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/desktop/win32/source/setup/setup_main.cxx b/desktop/win32/source/setup/setup_main.cxx
index af6b42bd18..3cf7d54145 100644
--- a/desktop/win32/source/setup/setup_main.cxx
+++ b/desktop/win32/source/setup/setup_main.cxx
@@ -63,7 +63,6 @@ SetupApp::SetupApp()
m_nOSVersion = sInfoOS.dwMajorVersion;
m_nMinorVersion = sInfoOS.dwMinorVersion;
- m_bIsWin9x = ( VER_PLATFORM_WIN32_NT != sInfoOS.dwPlatformId );
m_bNeedReboot = false;
m_bAdministrative = false;
}
@@ -88,14 +87,9 @@ extern "C" int __stdcall WinMain( HINSTANCE hInst, HINSTANCE, LPSTR, int )
GetVersionEx( &sInfoOS );
- boolean bIsWin9x = ( VER_PLATFORM_WIN32_NT != sInfoOS.dwPlatformId );
-
SetupApp *pSetup;
- if ( bIsWin9x )
- pSetup = Create_SetupAppA();
- else
- pSetup = Create_SetupAppW();
+ pSetup = Create_SetupAppW();
try
{