[Scummvm-git-logs] scummvm master -> 06b7bb47baf2580c91c6f85a1106405b61deff44

grechnik diamondaz at yandex.ru
Fri Oct 19 22:37:44 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
06b7bb47ba LASTEXPRESS: case-insensitive lookup in sound queue


Commit: 06b7bb47baf2580c91c6f85a1106405b61deff44
    https://github.com/scummvm/scummvm/commit/06b7bb47baf2580c91c6f85a1106405b61deff44
Author: Evgeny Grechnikov (diamondaz at yandex.ru)
Date: 2018-10-19T23:37:35+03:00

Commit Message:
LASTEXPRESS: case-insensitive lookup in sound queue

Changed paths:
    engines/lastexpress/sound/queue.cpp


diff --git a/engines/lastexpress/sound/queue.cpp b/engines/lastexpress/sound/queue.cpp
index e162174..5107383 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;
 	}
 





More information about the Scummvm-git-logs mailing list