changeset 148:16a32ec6419d

config fixes
author szabii
date Mon, 19 Mar 2001 00:13:24 +0000
parents 0a0d7dd8fb51
children 5762a1c7247b
files cfg-mplayer.h mplayer.c mplayerHQ.c
diffstat 3 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-mplayer.h	Sun Mar 18 23:32:31 2001 +0000
+++ b/cfg-mplayer.h	Mon Mar 19 00:13:24 2001 +0000
@@ -38,7 +38,6 @@
 	{"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0},
 	{"idx", &no_index, CONF_TYPE_FLAG, 0, 1, 0},
 	{"noidx", &no_index, CONF_TYPE_FLAG, 0, 0, 1},
-	{"v", &verbose, CONF_TYPE_FLAG, 0, 0, 1},
-	{"nov", &verbose, CONF_TYPE_FLAG, 0, 1, 0},
+	{"v", &verbose, CONF_TYPE_INT, 0, 0, 0},
 	{NULL, NULL, 0, 0, 0, 0}
 };
--- a/mplayer.c	Sun Mar 18 23:32:31 2001 +0000
+++ b/mplayer.c	Mon Mar 19 00:13:24 2001 +0000
@@ -381,7 +381,6 @@
   exit(1);
 if ((homedir = getenv("HOME")) == NULL) {
   printf("Can't find HOME dir\n");
-  exit(1);
 } else {
   snprintf(conffile, 100, "%s/.mplayerrc", homedir);
   if (parse_config_file(conf, conffile) < 0)
--- a/mplayerHQ.c	Sun Mar 18 23:32:31 2001 +0000
+++ b/mplayerHQ.c	Mon Mar 19 00:13:24 2001 +0000
@@ -383,7 +383,6 @@
   exit(1);
 if ((homedir = getenv("HOME")) == NULL) {
   printf("Can't find HOME dir\n");
-  exit(1);
 } else {
   snprintf(conffile, 100, "%s/.mplayerrc", homedir);
   if (parse_config_file(conf, conffile) < 0)