aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/scriptables/SXFile.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-05-11 18:17:49 +0200
committerEinar Johan Trøan Sømåen2012-06-02 13:02:01 +0200
commit25f08ba402dfa3b29e996a262b4c6217915de57e (patch)
tree4178b8e5746773e139a6fde29349194bbbea912d /engines/wintermute/scriptables/SXFile.cpp
parentc9058b544843553f1f5455c2595b6663e88f246f (diff)
downloadscummvm-rg350-25f08ba402dfa3b29e996a262b4c6217915de57e.tar.gz
scummvm-rg350-25f08ba402dfa3b29e996a262b4c6217915de57e.tar.bz2
scummvm-rg350-25f08ba402dfa3b29e996a262b4c6217915de57e.zip
WINTERMUTE: Remove a few defines from wintypes.h
Diffstat (limited to 'engines/wintermute/scriptables/SXFile.cpp')
-rw-r--r--engines/wintermute/scriptables/SXFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/scriptables/SXFile.cpp b/engines/wintermute/scriptables/SXFile.cpp
index 7d6b0ebcc1..e25825bebe 100644
--- a/engines/wintermute/scriptables/SXFile.cpp
+++ b/engines/wintermute/scriptables/SXFile.cpp
@@ -175,7 +175,7 @@ HRESULT CSXFile::ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *This
else if (strcmp(Name, "Delete") == 0) {
Stack->CorrectParams(0);
Close();
- Stack->PushBool(CBPlatform::DeleteFile(_filename) != FALSE);
+ Stack->PushBool(CBPlatform::DeleteFile(_filename) != false);
return S_OK;
}
@@ -188,7 +188,7 @@ HRESULT CSXFile::ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *This
bool Overwrite = Stack->Pop()->GetBool(true);
Close();
- Stack->PushBool(CBPlatform::CopyFile(_filename, Dest, !Overwrite) != FALSE);
+ Stack->PushBool(CBPlatform::CopyFile(_filename, Dest, !Overwrite) != false);
return S_OK;
}