From 3256486ac61f3b7e213973f5dd441e01197ae971 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 10 Jan 2018 11:26:40 +0100 Subject: [PATCH] changed code position of check when stopping tape recording --- src/tape.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/tape.c b/src/tape.c index 0fef94eb..38edafc5 100644 --- a/src/tape.c +++ b/src/tape.c @@ -637,9 +637,6 @@ static void TapeAppendRecording() void TapeHaltRecording() { - if (!tape.recording) - return; - tape.counter++; // initialize delay for next tape entry (to be able to continue recording) @@ -653,7 +650,8 @@ void TapeHaltRecording() void TapeStopRecording() { - TapeHaltRecording(); + if (tape.recording) + TapeHaltRecording(); tape.recording = FALSE; tape.pausing = FALSE; -- 2.34.1