One more small thing in the name of mail

git-svn-id: svn://10.0.0.236/trunk@7168 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
guha%netscape.com 1998-08-03 22:38:10 +00:00
parent cfa99ac119
commit 116123ed08

View File

@ -1357,10 +1357,7 @@ xp_FileName(const char * name, XP_FileType type, char* *myName)
newName = (char *) XP_ALLOC(_MAX_PATH);
sprintf(newName, "%s\\newsfilt.log", (const char *)g_MsgPrefs.m_csNewsDir);
break;
case xpMailPopState:
newName = (char *) XP_ALLOC(_MAX_PATH);
sprintf(newName, "%s\\popstate.dat", (const char *)g_MsgPrefs.m_csMailDir);
break;
case xpMailSubdirectory:
{
newName = (char *) XP_ALLOC(_MAX_PATH);
@ -1375,6 +1372,10 @@ xp_FileName(const char * name, XP_FileType type, char* *myName)
}
break;
#endif // MOZ_MAIL_NEWS
case xpMailPopState:
newName = (char *) XP_ALLOC(_MAX_PATH);
sprintf(newName, "%s\\%s\\popstate.dat", (const char *)theApp.m_UserDirectory, name);
break;
// name of global cross-platform registry
case xpRegistry:
// eventually need to support arbitrary names; this is the default