aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sword1/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/screen.cpp b/engines/sword1/screen.cpp
index 9300956f56..605e1127cf 100644
--- a/engines/sword1/screen.cpp
+++ b/engines/sword1/screen.cpp
@@ -364,7 +364,7 @@ void Screen::draw(void) {
for (uint16 cnty = 0; cnty < _scrnSizeY; cnty++)
for (uint16 cntx = 0; cntx < _scrnSizeX; cntx++) {
- if (*src = 0)
+ if (*src)
if (!SwordEngine::_systemVars.isMac || *src != 255) // see bug #1701058
*dest = *src;
dest++;