Quick Updates

svn path=/trunk/boinc/; revision=24115
This commit is contained in:
Rom Walton 2011-09-02 16:54:46 +00:00
parent 0db859fc07
commit e8fe929958
1 changed files with 3 additions and 6 deletions

View File

@ -1340,9 +1340,8 @@ VOID CScreensaver::DoConfig() {
LRESULT CScreensaver::SaverProc( LRESULT CScreensaver::SaverProc(
HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
) { ) {
DWORD dwMonitor = 0;
#ifdef _DEBUG #ifdef _DEBUG
DWORD dwMonitor = 0;
for(DWORD iIndex = 0; iIndex < m_dwNumMonitors; iIndex++) { for(DWORD iIndex = 0; iIndex < m_dwNumMonitors; iIndex++) {
if (hWnd == m_Monitors[iIndex].hWnd ) { if (hWnd == m_Monitors[iIndex].hWnd ) {
dwMonitor = iIndex; dwMonitor = iIndex;
@ -1507,9 +1506,8 @@ LRESULT CScreensaver::SaverProc(
LRESULT CScreensaver::GenericSaverProc( LRESULT CScreensaver::GenericSaverProc(
HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
) { ) {
DWORD dwMonitor = 0;
#ifdef _DEBUG #ifdef _DEBUG
DWORD dwMonitor = 0;
for(DWORD iIndex = 0; iIndex < m_dwNumMonitors; iIndex++) { for(DWORD iIndex = 0; iIndex < m_dwNumMonitors; iIndex++) {
if (hWnd == m_Monitors[iIndex].hWnd ) { if (hWnd == m_Monitors[iIndex].hWnd ) {
dwMonitor = iIndex; dwMonitor = iIndex;
@ -1655,9 +1653,8 @@ LRESULT CScreensaver::GenericSaverProc(
LRESULT CScreensaver::ResetProc( LRESULT CScreensaver::ResetProc(
HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
) { ) {
DWORD dwMonitor = 0;
#ifdef _DEBUG #ifdef _DEBUG
DWORD dwMonitor = 0;
for(DWORD iIndex = 0; iIndex < m_dwNumMonitors; iIndex++) { for(DWORD iIndex = 0; iIndex < m_dwNumMonitors; iIndex++) {
if (hWnd == m_Monitors[iIndex].hWnd ) { if (hWnd == m_Monitors[iIndex].hWnd ) {
dwMonitor = iIndex; dwMonitor = iIndex;