From 1646313214d20354f0cc9aacc6b00ce145010065 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Fri, 6 Apr 2012 09:46:04 -0400 Subject: PEGASUS: Fix setChar() call fail Thanks to Tommy for reporting --- engines/pegasus/movie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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()); -- cgit v1.2.3