WIN32: file naming
Allow single character variations in player names to remain unique in file names by encoding rather than substituting. "plnam one", "plnam_one", and "plnam~one" at the "Who are you?" prompt get unique filenames after this patch.
This commit is contained in:
@@ -595,6 +595,8 @@ E void NDECL(makerogueghost);
|
||||
|
||||
/* ### files.c ### */
|
||||
|
||||
E char *FDECL(fname_encode, (const char *, char, char *, char *, int));
|
||||
E char *FDECL(fname_decode, (char, char *, char *, int));
|
||||
E const char *FDECL(fqname, (const char *, int, int));
|
||||
E FILE *FDECL(fopen_datafile, (const char *,const char *,int));
|
||||
E boolean FDECL(uptodate, (int,const char *));
|
||||
|
||||
Reference in New Issue
Block a user