diff options
author | Max Horn | 2005-05-08 21:49:52 +0000 |
---|---|---|
committer | Max Horn | 2005-05-08 21:49:52 +0000 |
commit | cca744f69a9eb079a314c8f39af1faa4e7b1e5a6 (patch) | |
tree | 1eb00deac3941d844ce98abc10eb4339955ef61d /scumm/smush | |
parent | 013e30eb389c40eb579cc8e3f05b8e8da80925ca (diff) | |
download | scummvm-rg350-cca744f69a9eb079a314c8f39af1faa4e7b1e5a6.tar.gz scummvm-rg350-cca744f69a9eb079a314c8f39af1faa4e7b1e5a6.tar.bz2 scummvm-rg350-cca744f69a9eb079a314c8f39af1faa4e7b1e5a6.zip |
Comply to our coding conventions
svn-id: r17975
Diffstat (limited to 'scumm/smush')
-rw-r--r-- | scumm/smush/smush_font.cpp | 2 | ||||
-rw-r--r-- | scumm/smush/smush_player.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/smush/smush_font.cpp b/scumm/smush/smush_font.cpp index 914691f84a..683547f212 100644 --- a/scumm/smush/smush_font.cpp +++ b/scumm/smush/smush_font.cpp @@ -44,7 +44,7 @@ int SmushFont::getStringWidth(const char *str) { int width = 0; while (*str) { - if(*str & 0x80 && _vm->_useCJKMode) { + if (*str & 0x80 && _vm->_useCJKMode) { width += _vm->_2byteWidth + 1; str += 2; } else diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp index de24c74693..bfce7499e9 100644 --- a/scumm/smush/smush_player.cpp +++ b/scumm/smush/smush_player.cpp @@ -1145,7 +1145,7 @@ void SmushPlayer::insanity(bool flag) { void SmushPlayer::seekSan(const char *file, int32 pos, int32 contFrame) { Common::StackLock lock(_mutex); - if(_smixer) + if (_smixer) _smixer->stop(); if (file) { |