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