aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-12-28 16:53:41 +0100
committerEugene Sandulenko2015-12-15 00:05:02 +0100
commit500bb493f6011ef2a5ee26711600c952d1f46583 (patch)
tree0759287d2a7a72b463197984888ae1f3633df7f4
parentb8da3f2bc2fe63357a6d73a78e82dafebecc140e (diff)
downloadscummvm-rg350-500bb493f6011ef2a5ee26711600c952d1f46583.tar.gz
scummvm-rg350-500bb493f6011ef2a5ee26711600c952d1f46583.tar.bz2
scummvm-rg350-500bb493f6011ef2a5ee26711600c952d1f46583.zip
LAB: Fix regression
-rw-r--r--engines/lab/engine.cpp2
-rw-r--r--engines/lab/labfile.cpp5
2 files changed, 1 insertions, 6 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp
index 6f4f4e54b8..01fd7b9ef0 100644
--- a/engines/lab/engine.cpp
+++ b/engines/lab/engine.cpp
@@ -275,7 +275,7 @@ bool setUpScreens(void) {
/* Creates the gadgets for the movement control panel */
y = VGAScaleY(173) - SVGACord(2);
- if (g_lab->getPlatform() != Common::kPlatformWindows) {
+ if (g_lab->getPlatform() == Common::kPlatformWindows) {
MoveGadgetList = createButton(VGAScaleX(1), y, 0, 't', MoveImages[0], MoveImages[1]);
curgad = MoveGadgetList;
curgad->NextGadget = createButton(VGAScaleX(33), y, 1, 'm', MoveImages[2], MoveImages[3]);
diff --git a/engines/lab/labfile.cpp b/engines/lab/labfile.cpp
index 01f1ffabc0..63cc62652f 100644
--- a/engines/lab/labfile.cpp
+++ b/engines/lab/labfile.cpp
@@ -48,11 +48,6 @@ static uint32 buffersize, realbuffersize;
uint32 ReadSoFar;
bool ReadIsError, ReadIsDone;
-
-#if defined(WIN32)
-#define stat _stat
-#endif
-
/*****************************************************************************/
/* Returns the size of a file. */
/*****************************************************************************/