From c6bb27a1484e9cc37b95c1b81666673e86c6bbe4 Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Sun, 18 Nov 2018 12:20:05 +0000 Subject: [PATCH] ... --- sdtape.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdtape.cpp b/sdtape.cpp index b85dd55..bcd9bef 100644 --- a/sdtape.cpp +++ b/sdtape.cpp @@ -40,7 +40,7 @@ bool sdtape::start(const char *programs) void sdtape::stop() { -#if defined(STORAGE) +#if STORAGE file.close(); #endif } @@ -49,7 +49,7 @@ bool sdtape::more() { if (_pos >= _len) { _pos = 0; -#if defined(STORAGE) +#if STORAGE _len = file.read(_buf, sizeof(_buf)); #endif if (_len == 0) // eof @@ -59,7 +59,7 @@ bool sdtape::more() } const char *sdtape::advance() { -#if defined(STORAGE) +#if STORAGE bool rewound = false; file.close(); #if defined(USE_FS)