From 03d8f7e196c5e951055da4c646c097b8219ea346 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 5 Oct 2008 12:18:16 +0000 Subject: Fixed ambiguous 'else' svn-id: r34750 --- common/unarj.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') 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++; } -- cgit v1.2.3