openbsd-ports/games/angband/patches/patch-src_init2_c
niallo 85aae02ebb Update to 3.0.5
ok naddy@
2005-03-07 21:01:22 +00:00

33 lines
901 B
Plaintext

--- src/init2.c 2005/02/24 20:54:51 1.1
+++ src/init2.c 2005/02/24 20:56:56
@@ -135,12 +135,10 @@
/*** Build the sub-directory names ***/
/* Build a path name */
- strcpy(tail, "bone");
- ANGBAND_DIR_BONE = string_make(path);
+ ANGBAND_DIR_BONE = string_make("/var/games/angband/bone");
/* Build a path name */
- strcpy(tail, "data");
- ANGBAND_DIR_DATA = string_make(path);
+ ANGBAND_DIR_DATA = string_make("/var/games/angband/data");
/* Build a path name */
strcpy(tail, "edit");
@@ -195,12 +193,10 @@
#else /* USE_PRIVATE_SAVE_PATH */
/* Build a path name */
- strcpy(tail, "apex");
- ANGBAND_DIR_APEX = string_make(path);
+ ANGBAND_DIR_APEX = string_make("/var/games/angband/apex");
/* Build a path name */
- strcpy(tail, "save");
- ANGBAND_DIR_SAVE = string_make(path);
+ ANGBAND_DIR_SAVE = string_make("/var/games/angband/save");
#endif /* USE_PRIVATE_SAVE_PATH */