1
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 21:07:29 +01:00

config fixes

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@149 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
szabii 2001-03-19 00:13:24 +00:00
parent 5f4b4b9436
commit afadde7be4
3 changed files with 1 additions and 4 deletions

View File

@ -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}
};

View File

@ -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)

View File

@ -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)