From 11e33ba3fc1b65789358485fa50cdbc0cf26aac7 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 17 Aug 2018 20:30:20 -0700 Subject: JANITORIAL: Removing trailing spaces after int casts --- graphics/macgui/mactext.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'graphics/macgui') 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); -- cgit v1.2.3