Mercurial > mplayer.hg
comparison mplayer.c @ 148:16a32ec6419d
config fixes
author | szabii |
---|---|
date | Mon, 19 Mar 2001 00:13:24 +0000 |
parents | 0a0d7dd8fb51 |
children | 2f3e01a1fd87 |
comparison
equal
deleted
inserted
replaced
147:0a0d7dd8fb51 | 148:16a32ec6419d |
---|---|
379 | 379 |
380 if (parse_config_file(conf, "/etc/mplayer.conf") < 0) | 380 if (parse_config_file(conf, "/etc/mplayer.conf") < 0) |
381 exit(1); | 381 exit(1); |
382 if ((homedir = getenv("HOME")) == NULL) { | 382 if ((homedir = getenv("HOME")) == NULL) { |
383 printf("Can't find HOME dir\n"); | 383 printf("Can't find HOME dir\n"); |
384 exit(1); | |
385 } else { | 384 } else { |
386 snprintf(conffile, 100, "%s/.mplayerrc", homedir); | 385 snprintf(conffile, 100, "%s/.mplayerrc", homedir); |
387 if (parse_config_file(conf, conffile) < 0) | 386 if (parse_config_file(conf, conffile) < 0) |
388 exit(1); | 387 exit(1); |
389 } | 388 } |