Changed File::open to take a Common::String as file name parameter
svn-id: r21867
This commit is contained in:
parent
5072816109
commit
1470dadb1d
12 changed files with 33 additions and 35 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue