Changed File::open to take a Common::String as file name parameter

svn-id: r21867
This commit is contained in:
Max Horn 2006-04-14 01:48:51 +00:00
parent 5072816109
commit 1470dadb1d
12 changed files with 33 additions and 35 deletions

View file

@ -140,7 +140,7 @@ Surface *ImageDecoder::loadFile(const Common::String &name) {
Surface *newSurf = 0;
Common::File imageFile;
if (imageFile.open(name.c_str())) {
if (imageFile.open(name)) {
newSurf = loadFile(imageFile);
}