aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2008-10-05 12:18:16 +0000
committerMax Horn2008-10-05 12:18:16 +0000
commit03d8f7e196c5e951055da4c646c097b8219ea346 (patch)
tree3d6564844494dda231e8c1b02a612ab25009f37a
parentb9a0e32c3c318f95bb52e42afd7aa56e461b2756 (diff)
downloadscummvm-rg350-03d8f7e196c5e951055da4c646c097b8219ea346.tar.gz
scummvm-rg350-03d8f7e196c5e951055da4c646c097b8219ea346.tar.bz2
scummvm-rg350-03d8f7e196c5e951055da4c646c097b8219ea346.zip
Fixed ambiguous 'else'
svn-id: r34750
-rw-r--r--common/unarj.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/unarj.cpp b/common/unarj.cpp
index 00f51ac252..9162e437da 100644
--- a/common/unarj.cpp
+++ b/common/unarj.cpp
@@ -146,10 +146,10 @@ int32 ArjFile::findHeader(void) {
_currArchive.seek(tmp_pos, SEEK_SET);
id = _currArchive.readByte();
while (tmp_pos < end_pos) {
- if (id == HEADER_ID_LO)
+ if (id == HEADER_ID_LO) {
if ((id = _currArchive.readByte()) == HEADER_ID_HI)
break;
- else
+ } else
id = _currArchive.readByte();
tmp_pos++;
}