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