diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-02-18 12:55:01 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-03-29 19:53:57 +0200 |
commit | c70d7a8c1fdf97aecc1e2a3a182fa1f3c091520a (patch) | |
tree | 0defd08159f04fb4d89022a157923ba152321c78 /src/init2.c | |
parent | a782675c1580b6e9df12c8e1b73aee82be2051ec (diff) |
Remove conditional compilation based on PRIVATE_USER_PATH. It is always set.
Diffstat (limited to 'src/init2.c')
-rw-r--r-- | src/init2.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/init2.c b/src/init2.c index 83d316b0..6ab4ec54 100644 --- a/src/init2.c +++ b/src/init2.c @@ -169,8 +169,6 @@ void init_file_paths(char *path) strcpy(tail, "pref"); ANGBAND_DIR_PREF = string_make(path); -#ifdef PRIVATE_USER_PATH - /* synchronize with module_reset_dir */ { char user_path[1024]; @@ -201,26 +199,6 @@ void init_file_paths(char *path) ANGBAND_DIR_SAVE = string_make(user_path); } -#else /* PRIVATE_USER_PATH */ - - /* Build a path name */ - strcpy(tail, "save"); - ANGBAND_DIR_SAVE = string_make(path); - - /* Build a path name */ - strcpy(tail, "user"); - ANGBAND_DIR_USER = string_make(path); - - /* Build a path name */ - strcpy(tail, "note"); - ANGBAND_DIR_NOTE = string_make(path); - - /* Build a .. blah blah -- Improv */ - strcpy(tail, "cmov"); - ANGBAND_DIR_CMOV = string_make(path); - -#endif /* PRIVATE_USER_PATH */ - /* Build a path name */ strcpy(tail, "xtra"); ANGBAND_DIR_XTRA = string_make(path); |