comparison mplayerHQ.c @ 148:16a32ec6419d

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