Fixed warning when DISABLE_SCALERS is defined.

svn-id: r30074
This commit is contained in:
Torbjörn Andersson 2007-12-29 14:11:12 +00:00
parent 6a81b7d472
commit 32e2f9e8f3

View File

@ -1407,7 +1407,10 @@ void OSystem_SDL::blitCursor() {
_mouseCurState.vHotY = _mouseCurState.hotY; _mouseCurState.vHotY = _mouseCurState.hotY;
} }
#ifndef DISABLE_SCALERS
int rH1 = rH; // store original to pass to aspect-correction function later int rH1 = rH; // store original to pass to aspect-correction function later
#endif
if (_adjustAspectRatio && _cursorTargetScale == 1) { if (_adjustAspectRatio && _cursorTargetScale == 1) {
rH = real2Aspect(rH - 1) + 1; rH = real2Aspect(rH - 1) + 1;
_mouseCurState.rHotY = real2Aspect(_mouseCurState.rHotY); _mouseCurState.rHotY = real2Aspect(_mouseCurState.rHotY);