screensaver

svn path=/trunk/boinc/; revision=1080
This commit is contained in:
Eric Heien 2003-03-19 19:23:11 +00:00
parent b006cf4503
commit bfe11d85c0
1 changed files with 3 additions and 3 deletions

View File

@ -1257,6 +1257,9 @@ int CMainWindow::OnCreate(LPCREATESTRUCT lpcs)
return -1; return -1;
} }
// Determine the OS version
UtilInitOSVersion();
g_myWnd = this; g_myWnd = this;
m_nIconState = ICON_OFF; m_nIconState = ICON_OFF;
m_bMessage = false; m_bMessage = false;
@ -1354,9 +1357,6 @@ int CMainWindow::OnCreate(LPCREATESTRUCT lpcs)
m_TabCtrl.SetFont(&m_Font); m_TabCtrl.SetFont(&m_Font);
m_UsagePieCtrl.SetFont(&m_Font); m_UsagePieCtrl.SetFont(&m_Font);
// Determine the OS version
UtilInitOSVersion();
// Set the current directory to the default // Set the current directory to the default
UtilGetRegStr("ClientDir", curDir); UtilGetRegStr("ClientDir", curDir);
if (strlen(curDir)) if (strlen(curDir))