aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/engine.cpp')
-rw-r--r--engines/lab/engine.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp
index ca6e510ccc..42587eb7bb 100644
--- a/engines/lab/engine.cpp
+++ b/engines/lab/engine.cpp
@@ -185,16 +185,10 @@ bool LabEngine::doCloseUp(const CloseData *closePtr) {
Common::Rect textRect;
if (getPlatform() != Common::kPlatformWindows) {
- textRect.left = 0;
- textRect.right = 319;
- textRect.top = 0;
- textRect.bottom = 165;
+ textRect = Common::Rect(0, 0, 319, 165);
luteRight = 124;
} else {
- textRect.left = 2;
- textRect.right = 317;
- textRect.top = 2;
- textRect.bottom = 165;
+ textRect = Common::Rect(2, 2, 317, 165);
luteRight = 128;
}