aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
authorPaul Gilbert2018-08-17 20:30:20 -0700
committerPaul Gilbert2018-08-17 20:30:20 -0700
commit11e33ba3fc1b65789358485fa50cdbc0cf26aac7 (patch)
treeebb245cf6617e1ac0b35bf3681307bcbc541b230 /graphics/macgui
parentc8d3af3874d7c814a9f1f03ad740c3e9f8386eaa (diff)
downloadscummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.tar.gz
scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.tar.bz2
scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.zip
JANITORIAL: Removing trailing spaces after int casts
Diffstat (limited to 'graphics/macgui')
-rw-r--r--graphics/macgui/mactext.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 58017d9c45..366a79ba33 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -514,11 +514,11 @@ Common::String MacText::getTextChunk(int startRow, int startCol, int endRow, int
if (formatted)
res += _textLines[i].chunks[chunk].toString();
- if (endCol >= (int) _textLines[i].chunks[chunk].text.size())
+ if (endCol >= (int)_textLines[i].chunks[chunk].text.size())
res += _textLines[i].chunks[chunk].text;
else
res += Common::String(_textLines[i].chunks[chunk].text.c_str(), endCol);
- } else if ((int) _textLines[i].chunks[chunk].text.size() > startCol) {
+ } else if ((int)_textLines[i].chunks[chunk].text.size() > startCol) {
if (formatted)
res += _textLines[i].chunks[chunk].toString();
@@ -538,7 +538,7 @@ Common::String MacText::getTextChunk(int startRow, int startCol, int endRow, int
res += _textLines[i].chunks[chunk].toString();
res += _textLines[i].chunks[chunk].text;
- } else if ((int) _textLines[i].chunks[chunk].text.size() > startCol) {
+ } else if ((int)_textLines[i].chunks[chunk].text.size() > startCol) {
if (formatted)
res += _textLines[i].chunks[chunk].toString();
@@ -556,7 +556,7 @@ Common::String MacText::getTextChunk(int startRow, int startCol, int endRow, int
if (formatted)
res += _textLines[i].chunks[chunk].toString();
- if (endCol >= (int) _textLines[i].chunks[chunk].text.size())
+ if (endCol >= (int)_textLines[i].chunks[chunk].text.size())
res += _textLines[i].chunks[chunk].text;
else
res += Common::String(_textLines[i].chunks[chunk].text.c_str(), endCol);