aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-03-31 21:15:57 +0200
committerEugene Sandulenko2017-03-31 22:06:37 +0200
commit24542903660d89f03beb44302cc61ecd869c4c0c (patch)
tree70d87c6f1378199d967301f740c2f9cf4784a308
parent5d11c67d0078dfb0d61985cca8c2195b87573e86 (diff)
downloadscummvm-rg350-24542903660d89f03beb44302cc61ecd869c4c0c.tar.gz
scummvm-rg350-24542903660d89f03beb44302cc61ecd869c4c0c.tar.bz2
scummvm-rg350-24542903660d89f03beb44302cc61ecd869c4c0c.zip
DIRECTOR: Score label names are case insensitive
-rw-r--r--engines/director/score.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 4b65044baa..3ab17fc835 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -769,7 +769,7 @@ void Score::setStartToLabel(Common::String label) {
Common::SortedArray<Label *>::iterator i;
for (i = _labels->begin(); i != _labels->end(); ++i) {
- if ((*i)->name == label) {
+ if ((*i)->name.equalsIgnoreCase(label)) {
_currentFrame = (*i)->number;
return;
}