summaryrefslogtreecommitdiff
path: root/src/main-crb.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-26 17:22:37 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-26 17:22:37 +0200
commit67485c9c36e244861c6226a3854781d1dd16f3ca (patch)
tree0af1c75e09fcfbce364202c41f1938f79afa92b3 /src/main-crb.c
parent6c3d9cd354cc69bbbc719e0be91169946e3212a0 (diff)
Remove ANGBAND_DIR_APEX since it's not used any more
Diffstat (limited to 'src/main-crb.c')
-rw-r--r--src/main-crb.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/main-crb.c b/src/main-crb.c
index a4a1a742..0877bec6 100644
--- a/src/main-crb.c
+++ b/src/main-crb.c
@@ -531,9 +531,6 @@ static bool_ check_create_user_dir(void)
#ifdef PRIVATE_USER_PATH_DATA
char datapath[1024];
#endif
-#ifdef PRIVATE_USER_PATH_APEX
- char apexpath[1024];
-#endif
/* Get an absolute path from the filename */
path_parse(dirpath, 1024, PRIVATE_USER_PATH);
@@ -545,10 +542,6 @@ static bool_ check_create_user_dir(void)
strcpy(datapath, versionpath);
strcat(datapath, "/data");
#endif
-#ifdef PRIVATE_USER_PATH_APEX
- strcpy(apexpath, versionpath);
- strcat(apexpath, "/apex");
-#endif
return /* don't forget, the dirpath muts come first */
private_check_user_directory(dirpath) &&
@@ -556,9 +549,6 @@ static bool_ check_create_user_dir(void)
#ifdef PRIVATE_USER_PATH_DATA
private_check_user_directory(datapath) &&
#endif
-#ifdef PRIVATE_USER_PATH_APEX
- private_check_user_directory(apexpath) &&
-#endif
private_check_user_directory(savepath);
}
@@ -4825,8 +4815,7 @@ static void menu(long mc)
}
/* Build the pathname of the score file */
- path_build(buf, sizeof(buf), ANGBAND_DIR_APEX,
- "scores.raw");
+ path_build(buf, sizeof(buf), ANGBAND_DIR_USER, "scores.raw");
/* Hack - open the score file for reading */
highscore_fd = fd_open(buf, O_RDONLY);