diff options
author | Paul Gilbert | 2017-01-01 05:24:31 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-01 05:24:31 -0500 |
commit | d0d00f6beb9a2fab19455f653837af1b629d00da (patch) | |
tree | 7b92015c46e06490468da152b65374e61ce0b5a0 /engines/titanic/pet_control/pet_translation.cpp | |
parent | ab7a152c3a47427b606503ac3ee16abf0cb94bbe (diff) | |
download | scummvm-rg350-d0d00f6beb9a2fab19455f653837af1b629d00da.tar.gz scummvm-rg350-d0d00f6beb9a2fab19455f653837af1b629d00da.tar.bz2 scummvm-rg350-d0d00f6beb9a2fab19455f653837af1b629d00da.zip |
TITANIC: Rename CPetText to CTextControl
The class is used in several areas outside of the PET, so it makes
better sense to not have it in the pet_control/ folder and named so
Diffstat (limited to 'engines/titanic/pet_control/pet_translation.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_translation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_translation.cpp b/engines/titanic/pet_control/pet_translation.cpp index fe6c37c8ab..9509047325 100644 --- a/engines/titanic/pet_control/pet_translation.cpp +++ b/engines/titanic/pet_control/pet_translation.cpp @@ -61,8 +61,8 @@ void CPetTranslation::clearTranslation() { void CPetTranslation::addTranslation(const CString &str1, const CString &str2) { CString msg = CString::format("%s%s - %s%s", - CPetText::getColorText(0, 0x80, 0).c_str(), str1.c_str(), - CPetText::getColorText(0, 0, 0).c_str(), str2.c_str()); + CTextControl::getColorText(0, 0x80, 0).c_str(), str1.c_str(), + CTextControl::getColorText(0, 0, 0).c_str(), str2.c_str()); _message.addLine(msg); _petControl->makeDirty(); } |