diff options
Diffstat (limited to 'src/files.cc')
-rw-r--r-- | src/files.cc | 28 |
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) |