diff options
author | Paul Gilbert | 2014-03-17 00:20:50 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-03-17 00:20:50 -0400 |
commit | e6b73f4938e2bdb3601f6d567336fe8167ea7e1f (patch) | |
tree | cc1e0f6b7cabe3276a0a5b9dd0e5d6ee16b3d990 /engines/mads/user_interface.cpp | |
parent | b831323c85bb1ca26368cee6690d4664c37e9c0b (diff) | |
download | scummvm-rg350-e6b73f4938e2bdb3601f6d567336fe8167ea7e1f.tar.gz scummvm-rg350-e6b73f4938e2bdb3601f6d567336fe8167ea7e1f.tar.bz2 scummvm-rg350-e6b73f4938e2bdb3601f6d567336fe8167ea7e1f.zip |
MADS: Actions text in the UI now displaying correctly
Diffstat (limited to 'engines/mads/user_interface.cpp')
-rw-r--r-- | engines/mads/user_interface.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/mads/user_interface.cpp b/engines/mads/user_interface.cpp index 985e28872a..5ab0b0f356 100644 --- a/engines/mads/user_interface.cpp +++ b/engines/mads/user_interface.cpp @@ -129,8 +129,8 @@ void UserInterface::drawTextElements() { } else { // Draw the actions drawActions(); -// drawInventoryList(); -// drawItemVocabList(); + drawInventoryList(); + drawItemVocabList(); } } @@ -183,7 +183,7 @@ void UserInterface::writeVocab(ScrCategory category, int id) { _vm->_font->setColorMode(id == _selectedActionIndex ? 2 : 0); } vocabStr = scene.getVocab(vocabId); - vocabStr.toUppercase(); + vocabStr.setChar(toupper(vocabStr[0]), 0); font->writeString(this, vocabStr, Common::Point(bounds.left, bounds.top)); break; @@ -195,7 +195,7 @@ void UserInterface::writeVocab(ScrCategory category, int id) { } else { _vm->_font->setColorMode(id == _selectedInvIndex ? 2 : 0); vocabStr = scene.getVocab(vocabId); - vocabStr.toUppercase(); + vocabStr.setChar(toupper(vocabStr[0]), 0); font->writeString(this, vocabStr, Common::Point(bounds.left, bounds.top)); break; } @@ -235,7 +235,7 @@ void UserInterface::writeVocab(ScrCategory category, int id) { } else { _vm->_font->setColorMode(id == _selectedInvIndex ? 2 : 0); vocabStr = scene.getVocab(vocabId); - vocabStr.toUppercase(); + vocabStr.setChar(toupper(vocabStr[0]), 0); font->writeString(this, vocabStr, Common::Point(bounds.left, bounds.top)); break; } |