diff options
Diffstat (limited to 'engines/parallaction/graphics.cpp')
-rw-r--r-- | engines/parallaction/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index b9821bb4b3..921aa7e913 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -844,7 +844,7 @@ bool BackgroundInfo::hasMask() { void BackgroundInfo::clearMaskData() { // free mask data MaskPatches::iterator it = _maskPatches.begin(); - for ( ; it != _maskPatches.end(); it++) { + for ( ; it != _maskPatches.end(); ++it) { delete *it; } _maskPatches.clear(); @@ -905,7 +905,7 @@ bool BackgroundInfo::hasPath() { void BackgroundInfo::clearPathData() { // free mask data PathPatches::iterator it = _pathPatches.begin(); - for ( ; it != _pathPatches.end(); it++) { + for ( ; it != _pathPatches.end(); ++it) { delete *it; } _pathPatches.clear(); |