aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/PalmOS/Src/os5_mouse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/PalmOS/Src/os5_mouse.cpp')
-rw-r--r--backends/platform/PalmOS/Src/os5_mouse.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/PalmOS/Src/os5_mouse.cpp b/backends/platform/PalmOS/Src/os5_mouse.cpp
index 3b2c7840e6..0be9d3da46 100644
--- a/backends/platform/PalmOS/Src/os5_mouse.cpp
+++ b/backends/platform/PalmOS/Src/os5_mouse.cpp
@@ -30,7 +30,7 @@ void OSystem_PalmOS5::setCursorPalette(const byte *colors, uint start, uint num)
_mousePal[i + start] = gfxMakeDisplayRGB(colors[0], colors[1], colors[2]);
colors += 4;
}
-
+
_cursorPaletteDisabled = false;
}
@@ -42,7 +42,7 @@ void OSystem_PalmOS5::disableCursorPalette(bool disable) {
void OSystem_PalmOS5::draw_mouse() {
if (!_mouseDataP || _mouseDrawn || !_mouseVisible)
return;
-
+
byte *src = _mouseDataP;
int x = _mouseCurState.x - _mouseHotspotX;
@@ -145,7 +145,7 @@ void OSystem_PalmOS5::undraw_mouse() {
} else {
byte *dst = _offScreenP + _mouseOldState.y * _screenWidth + _mouseOldState.x;
byte *bak = _mouseBackupP;
-
+
do {
MemMove(dst, bak, _mouseOldState.w);
dst += _screenWidth;
@@ -154,4 +154,4 @@ void OSystem_PalmOS5::undraw_mouse() {
}
_mouseDrawn = false;
-} \ No newline at end of file
+}