diff options
author | Einar Johan Trøan Sømåen | 2012-05-11 16:03:59 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 13:01:15 +0200 |
commit | ba6a2ac66ea3e679246a28e81013f7c4794ed564 (patch) | |
tree | 9e187c8259f0ad8f38b29c4d66abef675a9e7ff3 /engines/wintermute/AdItem.cpp | |
parent | 2ee58d2dc3f78e03f25edf7103403ee06ba9ab7a (diff) | |
download | scummvm-rg350-ba6a2ac66ea3e679246a28e81013f7c4794ed564.tar.gz scummvm-rg350-ba6a2ac66ea3e679246a28e81013f7c4794ed564.tar.bz2 scummvm-rg350-ba6a2ac66ea3e679246a28e81013f7c4794ed564.zip |
WINTERMUTE: Run Astyle on code-files to reformat.
Diffstat (limited to 'engines/wintermute/AdItem.cpp')
-rw-r--r-- | engines/wintermute/AdItem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/AdItem.cpp b/engines/wintermute/AdItem.cpp index cc88b8bb3c..448fed3dc7 100644 --- a/engines/wintermute/AdItem.cpp +++ b/engines/wintermute/AdItem.cpp @@ -8,12 +8,12 @@ * modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
-
+
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
-
+
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
@@ -412,11 +412,11 @@ HRESULT CAdItem::Display(int X, int Y) { CBFont *Font = _font ? _font : Game->_systemFont;
if (Font) {
- if (_amountString) Font->DrawText((byte *)_amountString, AmountX, AmountY, Width, _amountAlign);
+ if (_amountString) Font->DrawText((byte *)_amountString, AmountX, AmountY, Width, _amountAlign);
else {
char Str[256];
sprintf(Str, "%d", _amount);
- Font->DrawText((byte *)Str, AmountX, AmountY, Width, _amountAlign);
+ Font->DrawText((byte *)Str, AmountX, AmountY, Width, _amountAlign);
}
}
}
|