diff options
author | Einar Johan Trøan Sømåen | 2013-01-22 23:00:47 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-01-22 23:00:47 +0100 |
commit | d52ad7e0ebb290984b2907793aa183d236f81e53 (patch) | |
tree | fa8a88f7fea3e7fe7ef7442251b9f1535c19d646 /engines/wintermute/base/gfx/osystem | |
parent | ff1e91226d22209beb80c6e87666fd9cbbeef33d (diff) | |
download | scummvm-rg350-d52ad7e0ebb290984b2907793aa183d236f81e53.tar.gz scummvm-rg350-d52ad7e0ebb290984b2907793aa183d236f81e53.tar.bz2 scummvm-rg350-d52ad7e0ebb290984b2907793aa183d236f81e53.zip |
WINTERMUTE: Use prefix-operators on iterators.
Diffstat (limited to 'engines/wintermute/base/gfx/osystem')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp index 6a27f8da54..8c902cff62 100644 --- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp +++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp @@ -294,7 +294,7 @@ void BaseRenderOSystem::drawSurface(BaseSurfaceOSystem *owner, const Graphics::S drawFromSurface(compareTicket); } else { drawFromTicket(compareTicket); - _lastAddedTicket++; + ++_lastAddedTicket; } return; } @@ -305,7 +305,7 @@ void BaseRenderOSystem::drawSurface(BaseSurfaceOSystem *owner, const Graphics::S if (!_disableDirtyRects) { drawFromTicket(ticket); drawFromSurface(ticket); - _lastAddedTicket++; + ++_lastAddedTicket; } else { ticket->_wantsDraw = true; _renderQueue.push_back(ticket); |