From 1fb9b3961781e5bca533c6876615cb67d5a455b0 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Tue, 13 Jun 2017 18:24:42 +0200 Subject: Use boost::fs::exists() instead of "homebaked" file_exist() --- src/squeltch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/squeltch.cc') 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(); -- cgit v1.2.3