[Pkg-wmaker-commits] [wmrack] 25/97: minor cleanup tweaks

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Aug 22 02:42:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmrack.

commit cb9fddb6b254a92e3b112d77b1f14411401a2090
Author: Chris Waters <xtifr.w at gmail.com>
Date:   Thu Mar 8 17:39:54 2012 -0800

    minor cleanup tweaks
---
 wmrack.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/wmrack.c b/wmrack.c
index 540975a..9d9c856 100644
--- a/wmrack.c
+++ b/wmrack.c
@@ -1,5 +1,5 @@
 /*
- * $Id: wmrack.c,v 1.4 2006/04/22 06:33:45 xtifr Exp $
+ * $Id: wmrack.c,v 1.5 2006/04/25 19:48:09 xtifr Exp $
  *
  * WMRack - WindowMaker Sound Control Panel
  *
@@ -17,6 +17,8 @@
 
 #define WMR_VERSION "1.3"
 
+#define MAXRCLINE 1024
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -37,8 +39,6 @@
 #include "mixer.h"
 #include "library.h"
 
-#define MAXRCLINE 1024
-
 /* Functions *****************************************************************/
 void usage ();
 void parseCmdLine (int argc, char *argv[]);
@@ -1485,7 +1485,6 @@ loadMixerRC ()
 
     while ((lib_gets (mixer_lib, line, MAXRCLINE)) != NULL)
     {
-	line[MAXRCLINE-1] = '\0';
 	dev[0] = src[0] = '\0';
 
 	nfields = sscanf (line, "%s %d:%d %s", &dev, &left, &right, &src);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmrack.git



More information about the Pkg-wmaker-commits mailing list