BACKENDS: Remove trailing whitespace
This commit is contained in:
parent
67fec75b4e
commit
d2c69a79fe
3 changed files with 5 additions and 5 deletions
|
@ -489,7 +489,7 @@ void OpenGLGraphicsManager::warpMouse(int x, int y) {
|
||||||
if (!_overlay) {
|
if (!_overlay) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// It might be confusing that we actually have to handle something
|
// It might be confusing that we actually have to handle something
|
||||||
// here when the overlay is visible. This is because for very small
|
// here when the overlay is visible. This is because for very small
|
||||||
// resolutions we have a minimal overlay size and have to adjust
|
// resolutions we have a minimal overlay size and have to adjust
|
||||||
|
@ -1044,8 +1044,8 @@ void OpenGLGraphicsManager::recalculateDisplayArea() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// We center the screen in the middle for now.
|
// We center the screen in the middle for now.
|
||||||
_displayX = (_outputScreenWidth - _displayWidth ) / 2;
|
_displayX = (_outputScreenWidth - _displayWidth ) / 2;
|
||||||
_displayY = (_outputScreenHeight - _displayHeight) / 2;
|
_displayY = (_outputScreenHeight - _displayHeight) / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
void OpenGLGraphicsManager::updateCursorPalette() {
|
void OpenGLGraphicsManager::updateCursorPalette() {
|
||||||
|
|
|
@ -282,7 +282,7 @@ bool OpenGLSdlGraphicsManager::setupMode(uint width, uint height) {
|
||||||
if (!_fullscreenVideoModes.empty()) {
|
if (!_fullscreenVideoModes.empty()) {
|
||||||
VideoModeArray::const_iterator i = _fullscreenVideoModes.end();
|
VideoModeArray::const_iterator i = _fullscreenVideoModes.end();
|
||||||
--i;
|
--i;
|
||||||
|
|
||||||
_desiredFullscreenWidth = i->width;
|
_desiredFullscreenWidth = i->width;
|
||||||
_desiredFullscreenHeight = i->height;
|
_desiredFullscreenHeight = i->height;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -390,7 +390,7 @@ Common::String OSystem_SDL::getSystemLanguage() const {
|
||||||
#else // WIN32
|
#else // WIN32
|
||||||
// Activating current locale settings
|
// Activating current locale settings
|
||||||
const Common::String locale = setlocale(LC_ALL, "");
|
const Common::String locale = setlocale(LC_ALL, "");
|
||||||
|
|
||||||
// Restore default C locale to prevent issues with
|
// Restore default C locale to prevent issues with
|
||||||
// portability of sscanf(), atof(), etc.
|
// portability of sscanf(), atof(), etc.
|
||||||
// See bug #3615148
|
// See bug #3615148
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue