From 6e2e87c0b59368304b40670fe197a202455cd2e3 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 4 Nov 2011 19:41:43 +0000 Subject: [PATCH] Fix incorrect lowercasing in AssFile::GetScriptInfo Originally committed to SVN as r5811. --- aegisub/src/ass_file.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aegisub/src/ass_file.cpp b/aegisub/src/ass_file.cpp index 3aaa8cb9f..5ee633e1c 100644 --- a/aegisub/src/ass_file.cpp +++ b/aegisub/src/ass_file.cpp @@ -598,7 +598,7 @@ void AssFile::InsertAttachment (wxString filename) { } wxString AssFile::GetScriptInfo(wxString key) { - key.Lower(); + key.MakeLower(); key += ":"; bool GotIn = false; @@ -606,7 +606,7 @@ wxString AssFile::GetScriptInfo(wxString key) { if ((*cur)->group == "[Script Info]") { GotIn = true; wxString curText = (*cur)->GetEntryData(); - curText.Lower(); + curText.MakeLower(); wxString value; if (curText.StartsWith(key, &value))