diff options
-rw-r--r-- | engines/pegasus/movie.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pegasus/movie.cpp b/engines/pegasus/movie.cpp index 324a86f2de..9a13864cab 100644 --- a/engines/pegasus/movie.cpp +++ b/engines/pegasus/movie.cpp @@ -67,7 +67,7 @@ void Movie::initFromMovieFile(const Common::String &fileName, bool transparent) if (newName.contains(':')) for (uint i = 0; i < newName.size(); i++) if (newName[i] == ':') - newName.setChar(i, '_'); + newName.setChar('_', i); if (!_video->loadFile(newName)) error("Could not load video '%s'", fileName.c_str()); |