From 500bb493f6011ef2a5ee26711600c952d1f46583 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 28 Dec 2014 16:53:41 +0100 Subject: [PATCH] LAB: Fix regression --- engines/lab/engine.cpp | 2 +- engines/lab/labfile.cpp | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp index 6f4f4e54b8d..01fd7b9ef0f 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 01f1ffabc04..63cc62652fc 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. */ /*****************************************************************************/