From bfe11d85c0bd08e3460404117b53de4f0da0816a Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Wed, 19 Mar 2003 19:23:11 +0000 Subject: [PATCH] screensaver svn path=/trunk/boinc/; revision=1080 --- client/win/wingui_mainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/win/wingui_mainwindow.cpp b/client/win/wingui_mainwindow.cpp index d58f0d7f8e..d3e4387b6d 100755 --- a/client/win/wingui_mainwindow.cpp +++ b/client/win/wingui_mainwindow.cpp @@ -1257,6 +1257,9 @@ int CMainWindow::OnCreate(LPCREATESTRUCT lpcs) return -1; } + // Determine the OS version + UtilInitOSVersion(); + g_myWnd = this; m_nIconState = ICON_OFF; m_bMessage = false; @@ -1354,9 +1357,6 @@ int CMainWindow::OnCreate(LPCREATESTRUCT lpcs) m_TabCtrl.SetFont(&m_Font); m_UsagePieCtrl.SetFont(&m_Font); - // Determine the OS version - UtilInitOSVersion(); - // Set the current directory to the default UtilGetRegStr("ClientDir", curDir); if (strlen(curDir))