Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/audio/common fix bug in audiorecord -t handling.



details:   https://anonhg.NetBSD.org/src/rev/0107d7a50de7
branches:  trunk
changeset: 510841:0107d7a50de7
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jun 07 12:48:27 2001 +0000

description:
fix bug in audiorecord -t handling.

diffstat:

 usr.bin/audio/common/audio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 22c7451dd661 -r 0107d7a50de7 usr.bin/audio/common/audio.c
--- a/usr.bin/audio/common/audio.c      Thu Jun 07 12:34:55 2001 +0000
+++ b/usr.bin/audio/common/audio.c      Thu Jun 07 12:48:27 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio.c,v 1.11 2001/03/04 15:27:35 hubertf Exp $       */
+/*     $NetBSD: audio.c,v 1.12 2001/06/07 12:48:27 mrg Exp $   */
 
 /*
  * Copyright (c) 1999 Matthew R. Green
@@ -328,8 +328,8 @@
                if ((colon = strchr(s, ':'))) {
                        *colon++ = '\0';
                        decode_int(s, &first);
-                       tvp->tv_sec += first;
-                       tvp->tv_sec *= 60;      /* minutes and hours */
+                       tvp->tv_sec *= 60;
+                       tvp->tv_sec += first;   /* minutes and hours */
                        s = colon;
                }
        }



Home | Main Index | Thread Index | Old Index