approved don/lloyd, support multiple periods in save file names, fix by brian@inforum.net
git-svn-id: svn://10.0.0.236/trunk@3682 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -270,7 +270,15 @@ char * fe_URLtoLocalName(const char * url, const char *pMimeType)
|
||||
|
||||
// replace extra periods in 8 character name with underscores
|
||||
for (idx =0 ; idx < csName.GetLength(); idx++) {
|
||||
#ifdef XP_WIN16
|
||||
if ((name[idx] == '.')||(name[idx] == ':')) name[idx] = '_';
|
||||
#else
|
||||
// Long filename fix, allow multiple periods for Win32.
|
||||
// brian@inforum.net (Brian Wiles)
|
||||
if(':' == name[idx]) {
|
||||
name[idx] = '_';
|
||||
}
|
||||
#endif
|
||||
}
|
||||
csName.ReleaseBuffer(-1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user