aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2005-06-21 16:46:04 +0000
committerMax Horn2005-06-21 16:46:04 +0000
commit07ac9901f17fd22bbaa1d6528b7cd3ea0c2012ed (patch)
treed7a2eb84a0ef98dd8c0daa94ad4881066e454dfb /scumm
parent90036d6d8ab92ccacf11aa975709182452f6eb20 (diff)
downloadscummvm-rg350-07ac9901f17fd22bbaa1d6528b7cd3ea0c2012ed.tar.gz
scummvm-rg350-07ac9901f17fd22bbaa1d6528b7cd3ea0c2012ed.tar.bz2
scummvm-rg350-07ac9901f17fd22bbaa1d6528b7cd3ea0c2012ed.zip
Yet another GCC 4 warning fixed
svn-id: r18425
Diffstat (limited to 'scumm')
-rw-r--r--scumm/gfx.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index bf151e7fd3..db3d530018 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -622,7 +622,8 @@ void ScummEngine::ditherCGA(byte *dst, int dstPitch, int x, int y, int width, in
for (int x1 = 0; x1 < width; x1++) {
idx2 = (x + x1) % 2;
- *ptr++ = cgaDither[idx1][idx2][*ptr & 0xF];
+ *ptr = cgaDither[idx1][idx2][*ptr & 0xF];
+ ptr++;
}
}
}