aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2012-03-17 22:02:16 +0100
committerJohannes Schickel2012-03-17 22:02:44 +0100
commit223794fb383637944c3b161c04ecc233a354c9ae (patch)
treed28b6822b93e7ee764c669657368ff38f9b08e97 /backends/graphics/surfacesdl/surfacesdl-graphics.cpp
parent2c0bd426fcd2d965ca5f84fde893719ddfc4c37f (diff)
downloadscummvm-rg350-223794fb383637944c3b161c04ecc233a354c9ae.tar.gz
scummvm-rg350-223794fb383637944c3b161c04ecc233a354c9ae.tar.bz2
scummvm-rg350-223794fb383637944c3b161c04ecc233a354c9ae.zip
ALL: Make use of defined() for the preprocessor consistent.
This does not change the use of defined for some NDS source files, since they seem to be (based on?) third party code.
Diffstat (limited to 'backends/graphics/surfacesdl/surfacesdl-graphics.cpp')
-rw-r--r--backends/graphics/surfacesdl/surfacesdl-graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index f3a1cad040..9631c3c07e 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -965,7 +965,7 @@ void SurfaceSdlGraphicsManager::internUpdateScreen() {
int scale1;
// definitions not available for non-DEBUG here. (needed this to compile in SYMBIAN32 & linux?)
-#if defined (DEBUG) && !defined(WIN32) && !defined(_WIN32_WCE)
+#if defined(DEBUG) && !defined(WIN32) && !defined(_WIN32_WCE)
assert(_hwscreen != NULL);
assert(_hwscreen->map->sw_data != NULL);
#endif