aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2012-04-06 09:46:04 -0400
committerMatthew Hoops2012-04-06 09:46:04 -0400
commit1646313214d20354f0cc9aacc6b00ce145010065 (patch)
tree411a4da18468c2d59e1aa1f992d3d733d0a9a73a /engines
parent9b66f04db96ae722653b427b02c7add1cded1b14 (diff)
downloadscummvm-rg350-1646313214d20354f0cc9aacc6b00ce145010065.tar.gz
scummvm-rg350-1646313214d20354f0cc9aacc6b00ce145010065.tar.bz2
scummvm-rg350-1646313214d20354f0cc9aacc6b00ce145010065.zip
PEGASUS: Fix setChar() call fail
Thanks to Tommy for reporting
Diffstat (limited to 'engines')
-rw-r--r--engines/pegasus/movie.cpp2
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());