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/m4/assets.cpp | |
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/m4/assets.cpp')
-rw-r--r-- | engines/m4/assets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/assets.cpp b/engines/m4/assets.cpp index f70a35d5ad..e871218ec1 100644 --- a/engines/m4/assets.cpp +++ b/engines/m4/assets.cpp @@ -233,7 +233,7 @@ void SpriteAsset::loadMadsSpriteAsset(MadsM4Engine *vm, Common::SeekableReadStre RGB8 *palData = Palette::decodeMadsPalette(spriteStream, &numColors); Common::copy(palData, &palData[numColors], &_palette[0]); if (numColors < 256) - Common::set_to((byte *)&_palette[numColors], (byte *)&_palette[256], 0); + Common::fill((byte *)&_palette[numColors], (byte *)&_palette[256], 0); _colorCount = numColors; delete[] palData; delete spriteStream; |