projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3534d01
)
changed code position of check when stopping tape recording
author
Holger Schemel
<info@artsoft.org>
Wed, 10 Jan 2018 10:26:40 +0000
(11:26 +0100)
committer
Holger Schemel
<info@artsoft.org>
Wed, 10 Jan 2018 10:26:40 +0000
(11:26 +0100)
src/tape.c
patch
|
blob
|
history
diff --git
a/src/tape.c
b/src/tape.c
index 0fef94eb6afd84fdea646903465a29b690c2861b..38edafc59d6503b61e167c97f1ec16c1f8aadbe5 100644
(file)
--- 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;