diff options
-rw-r--r-- | cfg-mplayer.h | 3 | ||||
-rw-r--r-- | mplayer.c | 1 | ||||
-rw-r--r-- | mplayerHQ.c | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 1204bd13af..10b367a59c 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -38,7 +38,6 @@ struct config conf[]={ {"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} }; @@ -381,7 +381,6 @@ if (parse_config_file(conf, "/etc/mplayer.conf") < 0) 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) diff --git a/mplayerHQ.c b/mplayerHQ.c index b5bd138e1b..ea2cd2051c 100644 --- a/mplayerHQ.c +++ b/mplayerHQ.c @@ -383,7 +383,6 @@ if (parse_config_file(conf, "/etc/mplayer.conf") < 0) 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) |