diff options
author | Eric Fry | 2018-06-26 22:35:31 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 989d8d9b8abecee3f0b72c92a05067e128fc6cdd (patch) | |
tree | 6879c75dccd45e4ae6f2396ee62425f625494f37 /engines/illusions/screentext.cpp | |
parent | 7cadb7ad0ce7b24c28d3fa9d842f7083ae5b9056 (diff) | |
download | scummvm-rg350-989d8d9b8abecee3f0b72c92a05067e128fc6cdd.tar.gz scummvm-rg350-989d8d9b8abecee3f0b72c92a05067e128fc6cdd.tar.bz2 scummvm-rg350-989d8d9b8abecee3f0b72c92a05067e128fc6cdd.zip |
ILLUSIONS: Formatting, remove trailing whitespace.
Diffstat (limited to 'engines/illusions/screentext.cpp')
-rw-r--r-- | engines/illusions/screentext.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/illusions/screentext.cpp b/engines/illusions/screentext.cpp index de664d635a..0f811df08d 100644 --- a/engines/illusions/screentext.cpp +++ b/engines/illusions/screentext.cpp @@ -101,13 +101,13 @@ bool ScreenText::refreshScreenText(FontResource *font, WidthHeight dimensions, C bool ScreenText::insertText(uint16 *text, uint32 fontId, WidthHeight dimensions, Common::Point offsPt, uint flags, uint16 backgroundColor, uint16 borderColor, byte colorR, byte colorG, byte colorB, uint16 *&outTextPtr) { - + if (!_screenTexts.empty()) { ScreenTextEntry *screenText = _screenTexts.back(); screenText->_info._position = _position; freeTextSurface(); } - + ScreenTextEntry *screenText = new ScreenTextEntry(); screenText->_info._fontId = fontId; screenText->_info._dimensions = dimensions; @@ -169,13 +169,13 @@ void ScreenText::removeText() { } void ScreenText::clearText() { - + if (!_screenTexts.empty()) { ScreenTextEntry *screenText = _screenTexts.back(); screenText->_info._position = _position; freeTextSurface(); } - + ScreenTextEntry *screenText = new ScreenTextEntry(); screenText->_info._fontId = 0; _screenTexts.push_back(screenText); |