summaryrefslogtreecommitdiffstats
path: root/atc/pathnames.h
diff options
context:
space:
mode:
Diffstat (limited to 'atc/pathnames.h')
-rw-r--r--atc/pathnames.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/atc/pathnames.h b/atc/pathnames.h
index 742b8fd7..d73f6ff6 100644
--- a/atc/pathnames.h
+++ b/atc/pathnames.h
@@ -33,5 +33,7 @@
#include <paths.h>
-#define _PATH_GAMES "/usr/share/games/atc/"
-#define _PATH_SCORE "/var/games/atc_score"
+#include "config.h"
+
+#define _PATH_GAMES PREFIX"/share/games/atc/"
+#define _PATH_SCORE LOCALSTATEDIR"/games/atc_score"