summaryrefslogtreecommitdiff
path: root/src/files.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-12-29 12:09:30 +0100
committerBardur Arantsson <bardur@scientician.net>2015-12-29 12:09:30 +0100
commit4aa1a39402c3908e9e8b6eb3fd4e2183d5e5c52e (patch)
treec1d93d415b96238aae3c54eb83cb0815af2e4bca /src/files.cc
parent729e3854b753ebc2e8c0ab28b760ca3ccc99412b (diff)
Remove MACINTOSH-compatibility code
Diffstat (limited to 'src/files.cc')
-rw-r--r--src/files.cc28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/files.cc b/src/files.cc
index e0990984..cc168ba5 100644
--- a/src/files.cc
+++ b/src/files.cc
@@ -2557,9 +2557,6 @@ errr file_character(cptr name, bool_ full)
/* Build the filename */
path_build(buf, 1024, ANGBAND_DIR_USER, name);
- /* File type is "TEXT" */
- FILE_TYPE(FILE_TYPE_TEXT);
-
/* Check for existing file */
fd = fd_open(buf, O_RDONLY);
@@ -3885,9 +3882,6 @@ void help_file_screenshot(cptr name)
/* Build the filename */
path_build(buf, 1024, ANGBAND_DIR_USER, name);
- /* File type is "TEXT" */
- FILE_TYPE(FILE_TYPE_TEXT);
-
/* Append to the file */
htm = my_fopen(buf, "w");
@@ -3941,9 +3935,6 @@ void html_screenshot(cptr name)
/* Build the filename */
path_build(buf, 1024, ANGBAND_DIR_USER, name);
- /* File type is "TEXT" */
- FILE_TYPE(FILE_TYPE_TEXT);
-
/* Append to the file */
htm = my_fopen(buf, "w");
@@ -4064,23 +4055,6 @@ void process_player_name(bool_ sf)
}
}
-
-#ifdef MACINTOSH
-
- /* Extract "useful" letters */
- for (i = 0; player_base[i]; i++)
- {
- char c = player_base[i];
-
- /* Convert "dot" to "underscore" */
- if (c == '@.') c = '_';
-
- /* Accept all the letters */
- tmp[k++] = c;
- }
-
-#else
-
/* Extract "useful" letters */
for (i = 0; player_base[i]; i++)
{
@@ -4093,8 +4067,6 @@ void process_player_name(bool_ sf)
else if (strchr("@. _", c)) tmp[k++] = '_';
}
-#endif
-
#if defined(WINDOWS)