fixed bug which could cause saving tapes with a wrong level number filename
authorHolger Schemel <info@artsoft.org>
Mon, 8 Jan 2018 18:56:14 +0000 (19:56 +0100)
committerHolger Schemel <info@artsoft.org>
Mon, 8 Jan 2018 18:58:22 +0000 (19:58 +0100)
src/tape.c

index 71addab34829a8c1eab0a7152e98c384df1a35e7..831659b62cb881ac47353c1e37992d3917c8d57b 100644 (file)
@@ -1394,7 +1394,7 @@ static void HandleTapeButtonsExt(int id)
       else
       {
        if (tape.changed)
-         SaveTapeChecked(tape.level_nr);
+         SaveTapeChecked(level_nr);
 
        TapeErase();
       }