mirror of https://github.com/BOINC/boinc.git
parent
b006cf4503
commit
bfe11d85c0
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue