It's `drive`, not `tape`

This commit is contained in:
Casey 2023-10-20 04:14:58 +03:00
parent 621a303553
commit 32caf7810e
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 3 additions and 3 deletions

View File

@ -510,13 +510,13 @@ function()
if offset > drive.getSize() or length > drive.getSize() then if offset > drive.getSize() or length > drive.getSize() then
mplayer.songs = { mplayer.songs = {
{ {
title = tape.getLabel(), title = drive.getLabel(),
offset = 0, offset = 0,
length = tape.getSize() - 10 length = drive.getSize() - 10
}, },
{ {
title = "[ !!! ] It's just a regular tape", title = "[ !!! ] It's just a regular tape",
offset = tape.getSize() - 10, offset = drive.getSize() - 10,
length = 10 length = 10
} }
} }