diff options
author | Bardur Arantsson <bardur@scientician.net> | 2017-06-13 18:24:42 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2017-06-13 18:24:42 +0200 |
commit | 1fb9b3961781e5bca533c6876615cb67d5a455b0 (patch) | |
tree | a0fe757628985473b6a2e7662eaa27c80fa574a7 /src/squeltch.cc | |
parent | 7a98afaeee09141ab36607e898d0e00072d9d930 (diff) |
Use boost::fs::exists() instead of "homebaked" file_exist()
Diffstat (limited to 'src/squeltch.cc')
-rw-r--r-- | src/squeltch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/squeltch.cc b/src/squeltch.cc index 61ccb1f3..1db8ff74 100644 --- a/src/squeltch.cc +++ b/src/squeltch.cc @@ -197,7 +197,7 @@ static void automatizer_save_rules() // Build the filename path_build(buf, 1024, ANGBAND_DIR_USER, name.c_str()); - if (file_exist(buf)) + if (boost::filesystem::exists(buf)) { show_message("File exists, continue? [y/n]"); ch = inkey(); |