diff options
-rw-r--r-- | engines/lab/engine.cpp | 2 | ||||
-rw-r--r-- | engines/lab/labfile.cpp | 5 |
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. */ /*****************************************************************************/ |