From bc6f8405fa4f7d0c9a7842ba788db4bb0ac02d17 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Sun, 21 Jul 2019 22:59:52 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Remove=20unneeded=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/fileReader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fileReader.c b/src/fileReader.c index ef6560b..8eee446 100644 --- a/src/fileReader.c +++ b/src/fileReader.c @@ -54,7 +54,7 @@ void getBytes(uint8_t* buffer, unsigned long numBytes, bool isLast) { //If we've reached end of file, close file and open next file if (file.offset == file.size) { closeCurrentFile(); - //Unless we've reached the end, in that case don't open next file in case we've reached the end of the last disk + if (!isLast) { openNextFile(); } else if (remainingBytes > 0) {