mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=6514
This commit is contained in:
parent
1e1b77375b
commit
c59e500fa8
|
@ -1633,7 +1633,8 @@ VOID CScreensaver::UpdateErrorBox() {
|
|||
VOID CScreensaver::DoPaint(HWND hwnd, HDC hdc) {
|
||||
HMONITOR hMonitor = MonitorFromWindow(hwnd, MONITOR_DEFAULTTONEAREST);
|
||||
INTERNALMONITORINFO* pMonitorInfo;
|
||||
for(DWORD iMonitor = 0; iMonitor < m_dwNumMonitors; iMonitor++) {
|
||||
DWORD iMonitor = 0;
|
||||
for(iMonitor = 0; iMonitor < m_dwNumMonitors; iMonitor++) {
|
||||
pMonitorInfo = &m_Monitors[iMonitor];
|
||||
if (pMonitorInfo->hMonitor == hMonitor)
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue