SHERLOCK: Replace scumm_stricmp() with equalsIgnoreCase()

This commit is contained in:
sirlemonhead 2015-05-17 20:41:42 +01:00
parent 2abb5f1977
commit 5e351b6bf3
6 changed files with 15 additions and 16 deletions

View file

@ -441,7 +441,7 @@ bool SaveManager::getFilename(int slot) {
screen.buttonPrint(Common::Point(ENV_POINTS[5][2], CONTROLS_Y), COMMAND_NULL, true, "Quit");
Common::String saveName = _savegames[slot];
if (scumm_stricmp(saveName.c_str(), "-EMPTY-") == 0) {
if (saveName.equalsIgnoreCase("-EMPTY-")) {
// It's an empty slot, so start off with an empty save name
saveName = "";