diff options
author | Johannes Schickel | 2011-11-16 18:06:30 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-11-16 18:06:30 +0100 |
commit | 61795739f8f45c5de4cfd0fe57af459146c5173c (patch) | |
tree | 5ff6bcde25f40545d1768f623804ba44afce4b6e /engines/tinsel | |
parent | 6e90f9e6938c9727a3dbb552b74f0d40d0ab221f (diff) | |
download | scummvm-rg350-61795739f8f45c5de4cfd0fe57af459146c5173c.tar.gz scummvm-rg350-61795739f8f45c5de4cfd0fe57af459146c5173c.tar.bz2 scummvm-rg350-61795739f8f45c5de4cfd0fe57af459146c5173c.zip |
COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
Diffstat (limited to 'engines/tinsel')
-rw-r--r-- | engines/tinsel/graphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tinsel/graphics.cpp b/engines/tinsel/graphics.cpp index 6a5d626de8..545310185c 100644 --- a/engines/tinsel/graphics.cpp +++ b/engines/tinsel/graphics.cpp @@ -478,9 +478,9 @@ static void t2WrtNonZero(DRAWOBJECT *pObj, uint8 *srcP, uint8 *destP, bool apply // Non-transparent run length color += pObj->constant; if (horizFlipped) - Common::set_to(tempP - runLength + 1, tempP + 1, color); + Common::fill(tempP - runLength + 1, tempP + 1, color); else - Common::set_to(tempP, tempP + runLength, color); + Common::fill(tempP, tempP + runLength, color); } } @@ -533,7 +533,7 @@ static void WrtConst(DRAWOBJECT *pObj, uint8 *destP, bool applyClipping) { // Loop through any remaining lines while (pObj->height > 0) { - Common::set_to(destP, destP + pObj->width, pObj->constant); + Common::fill(destP, destP + pObj->width, pObj->constant); --pObj->height; destP += SCREEN_WIDTH; |