fix up reference to privacy_policy.html string

This commit is contained in:
morse%netscape.com 1998-10-13 21:31:34 +00:00
Родитель c82d985b8a
Коммит 52f3f2cfd8
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -256,7 +256,7 @@ prvcy_checkStandardLocation_finished
Check for privacy policy at standard location
*/
extern char* PRVCY_POLICY_FILE_NAME;
extern int PRVCY_POLICY_FILE_NAME;
PUBLIC void
PRVCY_CheckStandardLocation(MWContext * context)
@ -282,7 +282,7 @@ PRVCY_CheckStandardLocation(MWContext * context)
/* Create a URL for privacy_policy.html */
privacyURL = NET_ParseURL(entry->address, GET_PROTOCOL_PART | GET_HOST_PART);
StrAllocCat(privacyURL, "/");
StrAllocCat(privacyURL, PRVCY_POLICY_FILE_NAME);
StrAllocCat(privacyURL, XP_GetDialogStrings(PRVCY_POLICY_FILE_NAME));
if (prvcy_inCache(privacyURL, &found)) {
if (found) {
entry->privacy_policy_url = privacyURL;