From b8293aaf8a45d21234be6826af403f02fdc79535 Mon Sep 17 00:00:00 2001 From: cuz Date: Wed, 24 Jan 2007 21:07:11 +0000 Subject: [PATCH] New version by Oliver Schmidt git-svn-id: svn://svn.cc65.org/cc65/trunk@3767 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/apple2/readdir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/apple2/readdir.c b/libsrc/apple2/readdir.c index bc5647002..188d46045 100644 --- a/libsrc/apple2/readdir.c +++ b/libsrc/apple2/readdir.c @@ -71,12 +71,12 @@ struct dirent* __fastcall__ readdir (DIR* dir) /* Switch to next entry */ ++dir->current_entry; - } while (entry[0] == 0); + } while (entry[0x00] == 0); /* Move creation date/time to allow for next step below */ *(unsigned long*)&entry[0x1A] = *(unsigned long*)&entry[0x18]; - /* Feature unsigned long access to EOF by extending from 3 to 4 bytes */ + /* Feature unsigned long access to EOF by extension from 3 to 4 bytes */ entry[0x18] = 0; /* Move file type to allow for next step below */ -- 2.39.5