9e9828d767
PR: 20416 Submitted by: Ports Fury
21 lines
798 B
Plaintext
21 lines
798 B
Plaintext
--- src/player/readrc.c.orig Wed Mar 1 09:42:44 2000
|
|
+++ src/player/readrc.c Fri Aug 4 23:24:03 2000
|
|
@@ -56,7 +56,7 @@
|
|
if ((rc = fopen (myrc2, "r")) == NULL) {
|
|
if ((rc = fopen (myrc, "r")) == NULL) {
|
|
#ifndef __EMX__
|
|
- if ((rc = fopen ("/etc/xmp.conf", "r")) == NULL) {
|
|
+ if ((rc = fopen (ETC_DIR "/xmp.conf", "r")) == NULL) {
|
|
#else
|
|
if ((rc = fopen ("xmp.conf", "r")) == NULL) {
|
|
#endif
|
|
@@ -202,7 +202,7 @@
|
|
myrc = malloc ((home ? strlen (home) : 0) + 20);
|
|
#ifndef __EMX__
|
|
sprintf (myrc, "%s/.xmp/modules.conf", home);
|
|
- parse_modconf (ctl, "/etc/xmp-modules.conf", crc, size);
|
|
+ parse_modconf (ctl, ETC_DIR "/xmp-modules.conf", crc, size);
|
|
#else
|
|
sprintf (myrc, "%s\\.xmp\\modules.conf", home);
|
|
parse_modconf (ctl, "xmp-modules.conf", crc, size);
|