From 07ac9901f17fd22bbaa1d6528b7cd3ea0c2012ed Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 21 Jun 2005 16:46:04 +0000 Subject: Yet another GCC 4 warning fixed svn-id: r18425 --- scumm/gfx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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++; } } } -- cgit v1.2.3