diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1997-03-19 03:21:50 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1997-03-19 03:21:50 +0000 |
commit | db8f4c6361dc3e227720b74f14e6a3463046e0f4 (patch) | |
tree | 719ec67999d9e52241cbbb0146faec092e28bd73 /usr.bin/cdio/cdio.c | |
parent | 59863d03d5e7bdab54111f837c5e7655a47bfbec (diff) |
Fixed minor bug with next/prev/replay commands.
Diffstat (limited to 'usr.bin/cdio/cdio.c')
-rw-r--r-- | usr.bin/cdio/cdio.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c index 8b5ce98ecaa..ba6879023d1 100644 --- a/usr.bin/cdio/cdio.c +++ b/usr.bin/cdio/cdio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cdio.c,v 1.6 1997/03/09 01:34:27 angelos Exp $ */ +/* $OpenBSD: cdio.c,v 1.7 1997/03/19 03:21:49 angelos Exp $ */ /* * Compact Disc Control Utility by Serge V. Vakulenko <vak@cronyx.ru>. * Based on the non-X based CD player by Jean-Marc Zucconi and @@ -728,9 +728,9 @@ int play_prev (arg) if (trk < h.starting_track) return play_track (h.starting_track, 1, - h.starting_track + 1, 1); + h.ending_track + 1, 1); - return play_track (trk, 1, trk + 1, 1); + return play_track (trk, 1, h.ending_track, 1); } return (0); @@ -751,7 +751,7 @@ int play_same (arg) return (rc); } - return play_track (trk, 1, trk + 1, 1); + return play_track (trk, 1, h.ending_track, 1); } return (0); @@ -784,7 +784,7 @@ int play_next (arg) return (rc); } - return play_track (trk, 1, trk + 1, 1); + return play_track (trk, 1, h.ending_track, 1); } return (0); |