diff options
author | Evgeny Grechnikov | 2018-10-19 23:37:35 +0300 |
---|---|---|
committer | Evgeny Grechnikov | 2018-10-19 23:37:35 +0300 |
commit | 06b7bb47baf2580c91c6f85a1106405b61deff44 (patch) | |
tree | c9f984a4be7de7b8333eabb138c7da1a87b99d25 /engines/lastexpress | |
parent | 1e5f34c02789eb2a3bda87d122ff1ce26811e67b (diff) | |
download | scummvm-rg350-06b7bb47baf2580c91c6f85a1106405b61deff44.tar.gz scummvm-rg350-06b7bb47baf2580c91c6f85a1106405b61deff44.tar.bz2 scummvm-rg350-06b7bb47baf2580c91c6f85a1106405b61deff44.zip |
LASTEXPRESS: case-insensitive lookup in sound queue
Diffstat (limited to 'engines/lastexpress')
-rw-r--r-- | engines/lastexpress/sound/queue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/sound/queue.cpp b/engines/lastexpress/sound/queue.cpp index e162174ab2..51073839d1 100644 --- a/engines/lastexpress/sound/queue.cpp +++ b/engines/lastexpress/sound/queue.cpp @@ -229,7 +229,7 @@ SoundEntry *SoundQueue::getEntry(Common::String name) { name += ".SND"; for (Common::List<SoundEntry *>::iterator i = _soundList.begin(); i != _soundList.end(); ++i) { - if ((*i)->getName() == name) + if ((*i)->getName().equalsIgnoreCase(name)) return *i; } |