summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-02-01 07:36:15 +0000
committertron <tron@openttd.org>2006-02-01 07:36:15 +0000
commit84fb96fe85e75b038b527471428189170021f8b7 (patch)
treea7d69d6390e8880d090f15560161694c3ce6126d /saveload.c
parent22dc05faf2219f6e3803f9cbff92249823bb11eb (diff)
downloadopenttd-84fb96fe85e75b038b527471428189170021f8b7.tar.xz
(svn r3511) More whitespace ([FS#46] by Rubidium)
Diffstat (limited to 'saveload.c')
-rw-r--r--saveload.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/saveload.c b/saveload.c
index 5e0988a60..f521ff7d6 100644
--- a/saveload.c
+++ b/saveload.c
@@ -778,11 +778,9 @@ static const ChunkHandler *SlFindChunkHandler(uint32 id)
const ChunkHandler *ch;
const ChunkHandler *const *chsc;
for (chsc = _sl.chs; (ch=*chsc++) != NULL;) {
- while(true) {
- if (ch->id == id)
- return ch;
- if (ch->flags & CH_LAST)
- break;
+ for (;;) {
+ if (ch->id == id) return ch;
+ if (ch->flags & CH_LAST) break;
ch++;
}
}