aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-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++;
}