diff options
author | Max Horn | 2009-10-04 11:58:52 +0000 |
---|---|---|
committer | Max Horn | 2009-10-04 11:58:52 +0000 |
commit | 696fd7af203e28c1f3821ceea56b48d83d28fdd5 (patch) | |
tree | 8fb69e98c832f9e381e03de786c3fb25b5fbd782 /engines/parallaction | |
parent | f8e8e764ceeca1ae61a6058cca7fdf94718c4518 (diff) | |
download | scummvm-rg350-696fd7af203e28c1f3821ceea56b48d83d28fdd5.tar.gz scummvm-rg350-696fd7af203e28c1f3821ceea56b48d83d28fdd5.tar.bz2 scummvm-rg350-696fd7af203e28c1f3821ceea56b48d83d28fdd5.zip |
Reduce usage of Common::String::emptyString
svn-id: r44603
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/disk.h | 4 | ||||
-rw-r--r-- | engines/parallaction/disk_br.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/disk.h b/engines/parallaction/disk.h index a9da429473..8f0768b09c 100644 --- a/engines/parallaction/disk.h +++ b/engines/parallaction/disk.h @@ -224,8 +224,8 @@ protected: uint16 _language; Common::String _currentPart; - Common::SeekableReadStream *tryOpenFile(const Common::String &name, const Common::String &ext = Common::String::emptyString); - Common::SeekableReadStream *openFile(const Common::String &name, const Common::String &ext = Common::String::emptyString); + Common::SeekableReadStream *tryOpenFile(const Common::String &name, const Common::String &ext = Common::String()); + Common::SeekableReadStream *openFile(const Common::String &name, const Common::String &ext = Common::String()); void errorFileNotFound(const Common::String &filename); public: diff --git a/engines/parallaction/disk_br.cpp b/engines/parallaction/disk_br.cpp index 46c849e6f2..2506da52b8 100644 --- a/engines/parallaction/disk_br.cpp +++ b/engines/parallaction/disk_br.cpp @@ -442,7 +442,7 @@ void AmigaDisk_br::init() { _sset.add("base", _baseDir, 5, false); const Common::String subDirNames[3] = { "fonts", "backs", "common" }; - const Common::String subDirPrefixes[3] = { "fonts", "backs", Common::String::emptyString }; + const Common::String subDirPrefixes[3] = { "fonts", "backs", "" }; // The common sub directory, doesn't exist in the Amiga demo uint numDir = (_vm->getFeatures() & GF_DEMO) ? 2 : 3; for (uint i = 0; i < numDir; i++) |